aboutsummaryrefslogtreecommitdiffstats
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-15 10:57:32 +0200
committerAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-15 10:57:32 +0200
commitae880cb54f43744225768c035bf5a97dc859d4c0 (patch)
tree2ca3b7962a6b5df7e5f113c97af6a1b92d5e282c /ui-repolist.c
parent80181ff7792d7a8c2248aa49279ae9464bf4b6cb (diff)
downloadcgit-ae880cb54f43744225768c035bf5a97dc859d4c0.tar.gz
cgit-ae880cb54f43744225768c035bf5a97dc859d4c0.tar.bz2
cgit-ae880cb54f43744225768c035bf5a97dc859d4c0.zip
Added repository section description
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 1b224cf..265d450 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -317,6 +317,11 @@ void cgit_print_repolist(void)
columns);
html_txt(section);
html("</td></tr>");
+ if(ctx.repo->section_desc != NULL) {
+ htmlf("<tr class='nohover-highlight'><td colspan='%d' class='reposectiondesc'>", columns);
+ html_txt(ctx.repo->section_desc);
+ html("</td></tr>");
+ }
last_section = section;
}
htmlf("<tr><td class='%s'>",