diff options
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ui-shared.c b/ui-shared.c index ee3f6fe..1fc5c09 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -603,8 +603,7 @@ void cgit_print_pageheader(struct cgit_context *ctx) | |||
603 | if (ctx->repo) { | 603 | if (ctx->repo) { |
604 | cgit_index_link("index", NULL, NULL, NULL, 0); | 604 | cgit_index_link("index", NULL, NULL, NULL, 0); |
605 | html(" : "); | 605 | html(" : "); |
606 | reporevlink(NULL, ctx->repo->name, NULL, hc(cmd, "summary"), | 606 | cgit_summary_link(ctx->repo->name, ctx->repo->name, NULL, NULL); |
607 | ctx->qry.head, NULL, NULL); | ||
608 | html("</td><td class='form'>"); | 607 | html("</td><td class='form'>"); |
609 | html("<form method='get' action=''>\n"); | 608 | html("<form method='get' action=''>\n"); |
610 | add_hidden_formfields(0, 1, ctx->qry.page); | 609 | add_hidden_formfields(0, 1, ctx->qry.page); |
@@ -632,8 +631,8 @@ void cgit_print_pageheader(struct cgit_context *ctx) | |||
632 | 631 | ||
633 | html("<table class='tabs'><tr><td>\n"); | 632 | html("<table class='tabs'><tr><td>\n"); |
634 | if (ctx->repo) { | 633 | if (ctx->repo) { |
635 | reporevlink(NULL, "summary", NULL, hc(cmd, "summary"), | 634 | cgit_summary_link(ctx->repo->name, ctx->repo->name, NULL, |
636 | ctx->qry.head, NULL, NULL); | 635 | ctx->qry.head); |
637 | cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head, | 636 | cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head, |
638 | ctx->qry.sha1, NULL); | 637 | ctx->qry.sha1, NULL); |
639 | cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head, | 638 | cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head, |