neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit cb1cc0d82d764051d8376281fcb556153f074c1a
parent ae83752b418328a369d4a6658fc673458012e1f1
Author: Lars Hjemli <hjemli@gmail.com>
Date:   Mon,  6 Oct 2008 16:00:42 +0200

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>

Diffstat:
Mui-shared.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui-shared.c b/ui-shared.c @@ -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,