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, 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
@@ -628,14 +628,13 @@ void cgit_print_pageheader(struct cgit_context *ctx)
628 html_include(ctx->cfg.index_info); 628 html_include(ctx->cfg.index_info);
629 } 629 }
630 html("</td></tr></table>\n"); 630 html("</td></tr></table>\n");
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,
639 NULL, NULL, 0, NULL, NULL); 638 NULL, NULL, 0, NULL, NULL);
640 cgit_tree_link("tree", NULL, hc(cmd, "tree"), ctx->qry.head, 639 cgit_tree_link("tree", NULL, hc(cmd, "tree"), ctx->qry.head,
641 ctx->qry.sha1, NULL); 640 ctx->qry.sha1, NULL);