-rw-r--r-- | ui-repolist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index a884c20..8724589 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -21,25 +21,25 @@ void cgit_print_repolist(struct cacheitem *item) | |||
21 | html("<tr class='nohover'>" | 21 | html("<tr class='nohover'>" |
22 | "<th class='left'>Name</th>" | 22 | "<th class='left'>Name</th>" |
23 | "<th class='left'>Description</th>" | 23 | "<th class='left'>Description</th>" |
24 | "<th class='left'>Owner</th>" | 24 | "<th class='left'>Owner</th>" |
25 | "<th class='left'>Links</th></tr>\n"); | 25 | "<th class='left'>Links</th></tr>\n"); |
26 | 26 | ||
27 | for (i=0; i<cgit_repolist.count; i++) { | 27 | for (i=0; i<cgit_repolist.count; i++) { |
28 | repo = &cgit_repolist.repos[i]; | 28 | repo = &cgit_repolist.repos[i]; |
29 | if ((last_group == NULL && repo->group != NULL) || | 29 | if ((last_group == NULL && repo->group != NULL) || |
30 | (last_group != NULL && repo->group == NULL) || | 30 | (last_group != NULL && repo->group == NULL) || |
31 | (last_group != NULL && repo->group!= NULL && | 31 | (last_group != NULL && repo->group!= NULL && |
32 | strcmp(repo->group, last_group))) { | 32 | strcmp(repo->group, last_group))) { |
33 | html("<tr><td colspan='4' class='repogroup'>"); | 33 | html("<tr class='nohover'><td colspan='4' class='repogroup'>"); |
34 | html_txt(repo->group); | 34 | html_txt(repo->group); |
35 | html("</td></tr>"); | 35 | html("</td></tr>"); |
36 | last_group = repo->group; | 36 | last_group = repo->group; |
37 | } | 37 | } |
38 | html("<tr><td>"); | 38 | html("<tr><td>"); |
39 | html_link_open(cgit_repourl(repo->url), NULL, NULL); | 39 | html_link_open(cgit_repourl(repo->url), NULL, NULL); |
40 | html_txt(repo->name); | 40 | html_txt(repo->name); |
41 | html_link_close(); | 41 | html_link_close(); |
42 | html("</td><td>"); | 42 | html("</td><td>"); |
43 | html_ntxt(cgit_max_repodesc_len, repo->desc); | 43 | html_ntxt(cgit_max_repodesc_len, repo->desc); |
44 | html("</td><td>"); | 44 | html("</td><td>"); |
45 | html_txt(repo->owner); | 45 | html_txt(repo->owner); |