fix(third_party/cgit): Correctly make "about links" on about page
This commit is contained in:
parent
590e1e1048
commit
f1136cde16
1 changed files with 4 additions and 0 deletions
4
third_party/cgit/ui-shared.c
vendored
4
third_party/cgit/ui-shared.c
vendored
|
@ -515,6 +515,10 @@ static void cgit_self_link(char *name, const char *title, const char *class)
|
|||
if (!strcmp(ctx.qry.page, "repolist"))
|
||||
cgit_index_link(name, title, class, ctx.qry.search, ctx.qry.sort,
|
||||
ctx.qry.ofs, 1);
|
||||
else if (!strcmp(ctx.qry.page, "about"))
|
||||
cgit_about_link(name, title, class, ctx.qry.head,
|
||||
ctx.qry.has_sha1 ? ctx.qry.sha1 : NULL,
|
||||
ctx.qry.path);
|
||||
else if (!strcmp(ctx.qry.page, "summary"))
|
||||
cgit_summary_link(name, title, class, ctx.qry.head);
|
||||
else if (!strcmp(ctx.qry.page, "tag"))
|
||||
|
|
Loading…
Reference in a new issue