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);
>2015-08-13filter: don't use dlsym unnecessarilyJohn Keeping 2015-08-13ui-tree: use "sane" isgraph()John Keeping 2015-08-13cgit.h: move stdbool.h from ui-shared.hJohn Keeping 2015-08-13cache.c: fix header orderJohn Keeping 2015-08-13configfile.c: don't include system headers directlyJohn Keeping 2015-08-13Remove redundant includesJohn Keeping 2015-08-13Makefile: include Git's config.mak.unameJohn Keeping 2015-08-13tests: allow shell to be overriddenJohn Keeping 2015-08-13redirect: cleanlinessJason A. Donenfeld 2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld 2015-08-12ui-log: fix double countingJohn Keeping 2015-08-12log: allow users to follow a fileJohn Keeping 2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping 2015-08-12t0110: Chain together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld 2015-08-12filters: apply HTML escapingLazaros Koromilas 2015-08-12git: update to v2.5.0Christian Hesse 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt