diff options
author | Jason A. Donenfeld | 2014-01-17 13:53:37 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2014-01-17 13:53:37 +0100 |
commit | 3cbbb8ea39d7a85cb5d3c14f81abb174a8b49b95 (patch) | |
tree | d3490fc9118e0724cb2736df03a4dc29228c623c | |
parent | 9786f4613da38cb263e76263370d7816a9347149 (diff) | |
download | cgit-3cbbb8ea39d7a85cb5d3c14f81abb174a8b49b95.tar.gz cgit-3cbbb8ea39d7a85cb5d3c14f81abb174a8b49b95.tar.bz2 cgit-3cbbb8ea39d7a85cb5d3c14f81abb174a8b49b95.zip |
ui-shared: move about tab all the way to the left
There were no objections (at the time of committing this):
http://lists.zx2c4.com/pipermail/cgit/2013-May/001393.html
http://lists.zx2c4.com/pipermail/cgit/2014-January/001904.html
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | ui-shared.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui-shared.c b/ui-shared.c index 070971f..883866d 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -859,6 +859,10 @@ void cgit_print_pageheader(void) | |||
859 | 859 | ||
860 | html("<table class='tabs'><tr><td>\n"); | 860 | html("<table class='tabs'><tr><td>\n"); |
861 | if (ctx.env.authenticated && ctx.repo) { | 861 | if (ctx.env.authenticated && ctx.repo) { |
862 | if (ctx.repo->readme.nr) | ||
863 | reporevlink("about", "about", NULL, | ||
864 | hc("about"), ctx.qry.head, NULL, | ||
865 | NULL); | ||
862 | cgit_summary_link("summary", NULL, hc("summary"), | 866 | cgit_summary_link("summary", NULL, hc("summary"), |
863 | ctx.qry.head); | 867 | ctx.qry.head); |
864 | cgit_refs_link("refs", NULL, hc("refs"), ctx.qry.head, | 868 | cgit_refs_link("refs", NULL, hc("refs"), ctx.qry.head, |
@@ -875,10 +879,6 @@ void cgit_print_pageheader(void) | |||
875 | if (ctx.repo->max_stats) | 879 | if (ctx.repo->max_stats) |
876 | cgit_stats_link("stats", NULL, hc("stats"), | 880 | cgit_stats_link("stats", NULL, hc("stats"), |
877 | ctx.qry.head, ctx.qry.vpath); | 881 | ctx.qry.head, ctx.qry.vpath); |
878 | if (ctx.repo->readme.nr) | ||
879 | reporevlink("about", "about", NULL, | ||
880 | hc("about"), ctx.qry.head, NULL, | ||
881 | NULL); | ||
882 | html("</td><td class='form'>"); | 882 | html("</td><td class='form'>"); |
883 | html("<form class='right' method='get' action='"); | 883 | html("<form class='right' method='get' action='"); |
884 | if (ctx.cfg.virtual_root) | 884 | if (ctx.cfg.virtual_root) |