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>
jk/collapsible-sections
Andy Doan 8 years ago committed by John Keeping
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…
Cancel
Save