summaryrefslogtreecommitdiffabout
path: root/ui-repolist.c
authorLars Hjemli <hjemli@gmail.com>2007-05-18 21:17:09 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-18 21:17:09 (UTC)
commit2aef89e5da436f2bc9670d96ccbc5ff1c2b8355c (patch) (unidiff)
tree8d3e4b77e9a5ab51e458b3141057d8e90a971446 /ui-repolist.c
parent5877c49f68b1e1bef94b4867f22c336f0e1605b6 (diff)
downloadcgit-2aef89e5da436f2bc9670d96ccbc5ff1c2b8355c.zip
cgit-2aef89e5da436f2bc9670d96ccbc5ff1c2b8355c.tar.gz
cgit-2aef89e5da436f2bc9670d96ccbc5ff1c2b8355c.tar.bz2
Don't highlight repogroup headings
Specify class='nohover' to avoid highlighting this row. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-repolist.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-repolist.c2
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
@@ -27,13 +27,13 @@ void cgit_print_repolist(struct cacheitem *item)
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);