Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 6 insertions, 0 deletions
-rw-r--r--ui-repolist.c6
diff --git a/ui-repolist.c b/ui-repolist.c
index 1b224cf..87fc40c 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -321,6 +321,12 @@ void cgit_print_repolist(void)
}
htmlf("<tr><td class='%s'>",
!sorted && section ? "sublevel-repo" : "toplevel-repo");
+ html("<img src='");
+ if (ctx.repo->logo && *ctx.repo->logo)
+ html_attr(ctx.repo->logo);
+ else
+ html_attr(ctx.cfg.logo);
+ html("' /> ");
cgit_summary_link(ctx.repo->name, NULL, NULL, NULL);
html("</td><td>");
repourl = cgit_repourl(ctx.repo->url);