diff options
Diffstat (limited to 'ui-repolist.c')
-rw-r--r-- | ui-repolist.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 49c991f..f929cb7 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -307,13 +307,19 @@ void cgit_print_repolist() | |||
307 | html_link_close(); | 307 | html_link_close(); |
308 | html("</td><td>"); | 308 | html("</td><td>"); |
309 | if (ctx.cfg.enable_index_owner) { | 309 | if (ctx.cfg.enable_index_owner) { |
310 | html("<a href='"); | 310 | if (ctx.repo->owner_filter) { |
311 | html_attr(cgit_rooturl()); | 311 | cgit_open_filter(ctx.repo->owner_filter); |
312 | html("?q="); | 312 | html_txt(ctx.repo->owner); |
313 | html_url_arg(ctx.repo->owner); | 313 | cgit_close_filter(ctx.repo->owner_filter); |
314 | html("'>"); | 314 | } else { |
315 | html_txt(ctx.repo->owner); | 315 | html("<a href='"); |
316 | html("</a>"); | 316 | html_attr(cgit_rooturl()); |
317 | html("?="); | ||
318 | html_url_arg(ctx.repo->owner); | ||
319 | html("'>"); | ||
320 | html_txt(ctx.repo->owner); | ||
321 | html("</a>"); | ||
322 | } | ||
317 | html("</td><td>"); | 323 | html("</td><td>"); |
318 | } | 324 | } |
319 | print_modtime(ctx.repo); | 325 | print_modtime(ctx.repo); |