]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Merge branch 'repogroups'
[ps-cgit] / ui-repolist.c
index a884c206d31d149ee72af3a52f59527f88dc821f..33e3e7fdcc45690aad81d66ebee33d31cdd84dcf 100644 (file)
@@ -18,6 +18,11 @@ void cgit_print_repolist(struct cacheitem *item)
        cgit_print_pageheader(cgit_root_title, 0);
 
        html("<table class='list nowrap'>");
+       if (cgit_index_header) {
+               html("<tr class='nohover'><td colspan='4' class='include-block'>");
+               html_include(cgit_index_header);
+               html("</td></tr>");
+       }
        html("<tr class='nohover'>"
             "<th class='left'>Name</th>"
             "<th class='left'>Description</th>"
@@ -30,7 +35,7 @@ void cgit_print_repolist(struct cacheitem *item)
                    (last_group != NULL && repo->group == NULL) ||
                    (last_group != NULL && repo->group!= NULL &&
                     strcmp(repo->group, last_group))) {
-                       html("<tr><td colspan='4' class='repogroup'>");
+                       html("<tr class='nohover'><td colspan='4' class='repogroup'>");
                        html_txt(repo->group);
                        html("</td></tr>");
                        last_group = repo->group;