summaryrefslogtreecommitdiffabout
path: root/ui-repolist.c
Unidiff
Diffstat (limited to 'ui-repolist.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-repolist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 7a7e95a..98009c0 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -105,25 +105,27 @@ void cgit_print_repolist()
105 htmlf("<tr class='nohover'><td colspan='%d' class='repogroup'>", 105 htmlf("<tr class='nohover'><td colspan='%d' class='repogroup'>",
106 columns); 106 columns);
107 html_txt(ctx.repo->group); 107 html_txt(ctx.repo->group);
108 html("</td></tr>"); 108 html("</td></tr>");
109 last_group = ctx.repo->group; 109 last_group = ctx.repo->group;
110 } 110 }
111 htmlf("<tr><td class='%s'>", 111 htmlf("<tr><td class='%s'>",
112 ctx.repo->group ? "sublevel-repo" : "toplevel-repo"); 112 ctx.repo->group ? "sublevel-repo" : "toplevel-repo");
113 html_link_open(cgit_repourl(ctx.repo->url), NULL, NULL); 113 html_link_open(cgit_repourl(ctx.repo->url), NULL, NULL);
114 html_txt(ctx.repo->name); 114 html_txt(ctx.repo->name);
115 html_link_close(); 115 html_link_close();
116 html("</td><td>"); 116 html("</td><td>");
117 html_link_open(cgit_repourl(ctx.repo->url), NULL, NULL);
117 html_ntxt(ctx.cfg.max_repodesc_len, ctx.repo->desc); 118 html_ntxt(ctx.cfg.max_repodesc_len, ctx.repo->desc);
119 html_link_close();
118 html("</td><td>"); 120 html("</td><td>");
119 html_txt(ctx.repo->owner); 121 html_txt(ctx.repo->owner);
120 html("</td><td>"); 122 html("</td><td>");
121 print_modtime(ctx.repo); 123 print_modtime(ctx.repo);
122 html("</td>"); 124 html("</td>");
123 if (ctx.cfg.enable_index_links) { 125 if (ctx.cfg.enable_index_links) {
124 html("<td>"); 126 html("<td>");
125 html_link_open(cgit_repourl(ctx.repo->url), 127 html_link_open(cgit_repourl(ctx.repo->url),
126 NULL, "button"); 128 NULL, "button");
127 html("summary</a>"); 129 html("summary</a>");
128 cgit_log_link("log", NULL, "button", NULL, NULL, NULL, 130 cgit_log_link("log", NULL, "button", NULL, NULL, NULL,
129 0, NULL, NULL); 131 0, NULL, NULL);