author | Lars Hjemli <hjemli@gmail.com> | 2008-10-06 14:00:42 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-10-06 14:00:42 (UTC) |
commit | cb1cc0d82d764051d8376281fcb556153f074c1a (patch) (unidiff) | |
tree | 55e2b1bb25f176f4e3128376a216d013daf1fd56 | |
parent | ae83752b418328a369d4a6658fc673458012e1f1 (diff) | |
download | cgit-cb1cc0d82d764051d8376281fcb556153f074c1a.zip cgit-cb1cc0d82d764051d8376281fcb556153f074c1a.tar.gz cgit-cb1cc0d82d764051d8376281fcb556153f074c1a.tar.bz2 |
ui-shared: specify correct css class for summary tab
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>
-rw-r--r-- | ui-shared.c | 3 |
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); |