mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
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>
This commit is contained in:
parent
ae83752b41
commit
cb1cc0d82d
@ -629,7 +629,8 @@ void cgit_print_pageheader(struct cgit_context *ctx)
|
|||||||
|
|
||||||
html("<table class='tabs'><tr><td>\n");
|
html("<table class='tabs'><tr><td>\n");
|
||||||
if (ctx->repo) {
|
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,
|
cgit_refs_link("refs", NULL, hc(cmd, "refs"), ctx->qry.head,
|
||||||
ctx->qry.sha1, NULL);
|
ctx->qry.sha1, NULL);
|
||||||
cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head,
|
cgit_log_link("log", NULL, hc(cmd, "log"), ctx->qry.head,
|
||||||
|
Loading…
Reference in New Issue
Block a user