List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH] ui-repolist: provide hyperlinks on section names
@ 2016-08-09 21:53 andy.doan
  2016-08-09 21:53 ` [PATCH] ui-repolist: Allow sections to be collapsible andy.doan
  0 siblings, 1 reply; 5+ messages in thread
From: andy.doan @ 2016-08-09 21:53 UTC (permalink / raw)


This makes it easier to traverse into a section of git repositories.

Signed-off-by: Andy Doan <andy.doan at linaro.org>
---
 ui-repolist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-repolist.c b/ui-repolist.c
index 30915df..f6b6b47 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -322,7 +322,7 @@ void cgit_print_repolist(void)
 		     strcmp(section, last_section)))) {
 			htmlf("<tr class='nohover'><td colspan='%d' class='reposection'>",
 			      columns);
-			html_txt(section);
+			htmlf("<a href='%s'>%s</a>", section, section);
 			html("</td></tr>");
 			last_section = section;
 		}
--
2.7.4



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-26  8:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-09 21:53 [PATCH] ui-repolist: provide hyperlinks on section names andy.doan
2016-08-09 21:53 ` [PATCH] ui-repolist: Allow sections to be collapsible andy.doan
2016-08-25 21:13   ` john
2016-08-26  3:20     ` andy.doan
2016-08-26  8:18       ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).