author | Lars Hjemli <hjemli@gmail.com> | 2008-10-05 17:00:32 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-10-05 17:00:32 (UTC) |
commit | 23ffba78b4572f35f0ee52410dde9a16e6d02ce5 (patch) (side-by-side diff) | |
tree | 3826ebbae0760fb1d625361de9550e8d737a7bef | |
parent | df46123b0e55027bc39403df285851d37f25a473 (diff) | |
download | cgit-23ffba78b4572f35f0ee52410dde9a16e6d02ce5.zip cgit-23ffba78b4572f35f0ee52410dde9a16e6d02ce5.tar.gz cgit-23ffba78b4572f35f0ee52410dde9a16e6d02ce5.tar.bz2 |
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 @@ -622,26 +622,25 @@ void cgit_print_pageheader(struct cgit_context *ctx) html("</td><td class='sub right'>"); html_txt(ctx->repo->owner); } else { if (ctx->cfg.root_desc) html_txt(ctx->cfg.root_desc); else if (ctx->cfg.index_info) html_include(ctx->cfg.index_info); } html("</td></tr></table>\n"); html("<table class='tabs'><tr><td>\n"); if (ctx->repo) { - cgit_summary_link(ctx->repo->name, ctx->repo->name, NULL, - ctx->qry.head); + cgit_summary_link("summary", NULL, NULL, ctx->qry.head); cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head, ctx->qry.sha1, NULL); cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head, NULL, NULL, 0, NULL, NULL); cgit_tree_link("tree", NULL, hc(cmd, "tree"), ctx->qry.head, ctx->qry.sha1, NULL); cgit_commit_link("commit", NULL, hc(cmd, "commit"), ctx->qry.head, ctx->qry.sha1); cgit_diff_link("diff", NULL, hc(cmd, "diff"), ctx->qry.head, ctx->qry.sha1, ctx->qry.sha2, NULL); if (ctx->repo->readme) reporevlink("about", "about", NULL, |