diff options
Diffstat (limited to 'ui-repolist.c')
| -rw-r--r-- | ui-repolist.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 265d450..ed6f12c 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -313,7 +313,11 @@ void cgit_print_repolist(void) (last_section != NULL && section == NULL) || (last_section != NULL && section != NULL && strcmp(section, last_section)))) { - htmlf("<tr class='nohover-highlight'><td colspan='%d' class='reposection'>", + if(ctx.repo->section_desc != NULL) + htmlf("<tr class='nohover-highlight'><td colspan='%d' class='reposection'>", + columns); + else + htmlf("<tr class='nohover-highlight'><td colspan='%d' class='reposectionsingle'>", columns); html_txt(section); html("</td></tr>"); |