]> granicus.if.org Git - cgit/commitdiff
ui-shared: specify correct css class for summary tab
authorLars Hjemli <hjemli@gmail.com>
Mon, 6 Oct 2008 14:00:42 +0000 (16:00 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 6 Oct 2008 14:00:42 +0000 (16:00 +0200)
When introducing cgit_summary_link() in 49ecbbdd I forgot to specify the
css class. This fixes it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-shared.c

index 9b120ae0ff6e74b1814d6eecc9bfa2a41d76b94e..224e5f3b2f3da88d89a0ea3034b9182cf7775cd7 100644 (file)
@@ -629,7 +629,8 @@ void cgit_print_pageheader(struct cgit_context *ctx)
 
        html("<table class='tabs'><tr><td>\n");
        if (ctx->repo) {
-               cgit_summary_link("summary", NULL, NULL, ctx->qry.head);
+               cgit_summary_link("summary", NULL, hc(cmd, "summary"),
+                                 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,