about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-01-16 22:54:23 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-17 14:01:27 +0100
commita2b6b3717567a5b57a19d19ed89af324296f39a9 (patch)
treecb9cdd85d19d6d4ba8325ffcfc40160c3b87b857
parentui-shared: move about tab all the way to the left (diff)
downloadcgit-pink-a2b6b3717567a5b57a19d19ed89af324296f39a9.tar.gz
cgit-pink-a2b6b3717567a5b57a19d19ed89af324296f39a9.zip
repolist: make owner clickable to search
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ui-repolist.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 92e80cf..477a949 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -306,7 +306,13 @@ void cgit_print_repolist()
 		html_link_close();
 		html("</td><td>");
 		if (ctx.cfg.enable_index_owner) {
+			html("<a href='");
+			html_attr(cgit_rooturl());
+			html("?q=");
+			html_url_arg(ctx.repo->owner);
+			html("'>");
 			html_txt(ctx.repo->owner);
+			html("</a>");
 			html("</td><td>");
 		}
 		print_modtime(ctx.repo);
s?id=227f0ed379de4ad94be18b328fd22a377d2d197a&follow=1'>Add license header to cgit CSSJune McEnroe 2019-12-22Add The Book of EttaJune McEnroe 2019-12-21Revert "Add first working version of imbox"June McEnroe 2019-12-21Add first working version of imboxJune McEnroe 2019-12-20Respect mailmap in gl pretty formatJune McEnroe 2019-12-20Set LANG in cgit filtersJune McEnroe 2019-12-20Source .editrc before applying -v or -eJune McEnroe 2019-12-20Disable signing commitsJune McEnroe 2019-12-19Ignore about-filterJune McEnroe 2019-12-19Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe