diff options
author | Lars Hjemli | 2008-10-05 19:00:32 +0200 |
---|---|---|
committer | Lars Hjemli | 2008-10-05 19:00:32 +0200 |
commit | 23ffba78b4572f35f0ee52410dde9a16e6d02ce5 (patch) | |
tree | 3826ebbae0760fb1d625361de9550e8d737a7bef | |
parent | Replace cgitrc with cgitrc.5.txt (diff) | |
download | cgit-23ffba78b4572f35f0ee52410dde9a16e6d02ce5.tar.gz cgit-23ffba78b4572f35f0ee52410dde9a16e6d02ce5.zip |
ui-shared: do not print repo name on the "summary" tab
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | ui-shared.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index 1fc5c09..d909f55 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -631,8 +631,7 @@ void cgit_print_pageheader(struct cgit_context *ctx) | |||
631 | 631 | ||
632 | html("<table class='tabs'><tr><td>\n"); | 632 | html("<table class='tabs'><tr><td>\n"); |
633 | if (ctx->repo) { | 633 | if (ctx->repo) { |
634 | cgit_summary_link(ctx->repo->name, ctx->repo->name, NULL, | 634 | cgit_summary_link("summary", NULL, NULL, ctx->qry.head); |
635 | ctx->qry.head); | ||
636 | cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head, | 635 | cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head, |
637 | ctx->qry.sha1, NULL); | 636 | ctx->qry.sha1, NULL); |
638 | cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head, | 637 | cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head, |