about summary refs log tree commit diff stats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 9b120ae..224e5f3 100644 --- a/ui-shared.c +++ b/ui-shared.c
@@ -629,7 +629,8 @@ void cgit_print_pageheader(struct cgit_context *ctx)
629 629
630 html("<table class='tabs'><tr><td>\n"); 630 html("<table class='tabs'><tr><td>\n");
631 if (ctx->repo) { 631 if (ctx->repo) {
632 cgit_summary_link("summary", NULL, NULL, ctx->qry.head); 632 cgit_summary_link("summary", NULL, hc(cmd, "summary"),
633 ctx->qry.head);
633 cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head, 634 cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head,
634 ctx->qry.sha1, NULL); 635 ctx->qry.sha1, NULL);
635 cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head, 636 cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head,