about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJason A. Donenfeld2014-01-16 22:54:23 +0100
committerJason A. Donenfeld2014-01-17 14:01:27 +0100
commita2b6b3717567a5b57a19d19ed89af324296f39a9 (patch)
treecb9cdd85d19d6d4ba8325ffcfc40160c3b87b857
parentui-shared: move about tab all the way to the left (diff)
downloadcgit-a2b6b3717567a5b57a19d19ed89af324296f39a9.tar.gz
cgit-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()
306 html_link_close(); 306 html_link_close();
307 html("</td><td>"); 307 html("</td><td>");
308 if (ctx.cfg.enable_index_owner) { 308 if (ctx.cfg.enable_index_owner) {
309 html("<a href='");
310 html_attr(cgit_rooturl());
311 html("?q=");
312 html_url_arg(ctx.repo->owner);
313 html("'>");
309 html_txt(ctx.repo->owner); 314 html_txt(ctx.repo->owner);
315 html("</a>");
310 html("</td><td>"); 316 html("</td><td>");
311 } 317 }
312 print_modtime(ctx.repo); 318 print_modtime(ctx.repo);