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);
/tr> 2021-02-07Add simple battery status and clock to xsessionJune McEnroe 2021-02-07Set cursor theme and sizeJune McEnroe 2021-02-07Use scrot for up -s if no screencaptureJune McEnroe 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe