Signed-off-by: Jason A. Donenfeld <[email protected]>
---

** MAYBE THIS WON'T BE MERGED **

This is super simple and seems like a no brainer but...

As an alternative to this, we could pretty easily pipe the
owner through the "email-filter", even though the owner name isn't
associated with an email address.

What do you guys think is best here?


 ui-repolist.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ui-repolist.c b/ui-repolist.c
index f9cb21a..9a75661 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);
-- 
1.8.5.2

_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to