X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/8f6f8c3406ad069b37da7cb90462c1e61c991859..271ac5a7e6b5b67f54fdd16e8542aa282f1c7140:/ui-repolist.c?ds=inline diff --git a/ui-repolist.c b/ui-repolist.c index d341193..33e3e7f 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -12,11 +12,17 @@ void cgit_print_repolist(struct cacheitem *item) { struct repoinfo *repo; int i; + char *last_group = NULL; cgit_print_docstart(cgit_root_title, item); cgit_print_pageheader(cgit_root_title, 0); html("
| "); + html_include(cgit_index_header); + html(" | |||||||||
| Name | " "Description | " @@ -25,12 +31,21 @@ void cgit_print_repolist(struct cacheitem *item) for (i=0; i||||||||
|---|---|---|---|---|---|---|---|---|---|
| "); + html_txt(repo->group); + html(" | |||||||||
| "); html_link_open(cgit_repourl(repo->url), NULL, NULL); html_txt(repo->name); html_link_close(); html(" | "); - html_txt(repo->desc); + html_ntxt(cgit_max_repodesc_len, repo->desc); html(" | "); html_txt(repo->owner); html(" | "); | ||||||