mirror of
https://git.zx2c4.com/cgit
synced 2025-01-11 17:01:52 +00:00
ui-repolist: provide hyperlinks on section names
This makes it easier to traverse into a section of git repositories. Signed-off-by: Andy Doan <andy.doan@linaro.org> Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
e18a85b6a2
commit
84b158abe0
@ -322,7 +322,11 @@ void cgit_print_repolist(void)
|
||||
strcmp(section, last_section)))) {
|
||||
htmlf("<tr class='nohover'><td colspan='%d' class='reposection'>",
|
||||
columns);
|
||||
html("<a href='");
|
||||
html_attr(section);
|
||||
html("'>");
|
||||
html_txt(section);
|
||||
html("</a>");
|
||||
html("</td></tr>");
|
||||
last_section = section;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user