summaryrefslogtreecommitdiffabout
path: root/ui-shared.c
Unidiff
Diffstat (limited to 'ui-shared.c') (more/less context) (ignore whitespace changes)
-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
@@ -626,13 +626,14 @@ void cgit_print_pageheader(struct cgit_context *ctx)
626 html_include(ctx->cfg.index_info); 626 html_include(ctx->cfg.index_info);
627 } 627 }
628 html("</td></tr></table>\n"); 628 html("</td></tr></table>\n");
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,
636 NULL, NULL, 0, NULL, NULL); 637 NULL, NULL, 0, NULL, NULL);
637 cgit_tree_link("tree", NULL, hc(cmd, "tree"), ctx->qry.head, 638 cgit_tree_link("tree", NULL, hc(cmd, "tree"), ctx->qry.head,
638 ctx->qry.sha1, NULL); 639 ctx->qry.sha1, NULL);