-rw-r--r-- | ui-repolist.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 011ec95..2ce0d6a 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -7,25 +7,24 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "cgit.h" | 9 | #include "cgit.h" |
10 | 10 | ||
11 | void cgit_print_repolist(struct cacheitem *item) | 11 | void cgit_print_repolist(struct cacheitem *item) |
12 | { | 12 | { |
13 | struct repoinfo *repo; | 13 | struct repoinfo *repo; |
14 | int i; | 14 | int i; |
15 | 15 | ||
16 | cgit_print_docstart(cgit_root_title, item); | 16 | cgit_print_docstart(cgit_root_title, item); |
17 | cgit_print_pageheader(cgit_root_title, 0); | 17 | cgit_print_pageheader(cgit_root_title, 0); |
18 | 18 | ||
19 | html("<h2>Repositories</h2>\n"); | ||
20 | html("<table class='list nowrap'>"); | 19 | html("<table class='list nowrap'>"); |
21 | html("<tr class='nohover'>" | 20 | html("<tr class='nohover'>" |
22 | "<th class='left'>Name</th>" | 21 | "<th class='left'>Name</th>" |
23 | "<th class='left'>Description</th>" | 22 | "<th class='left'>Description</th>" |
24 | "<th class='left'>Owner</th></tr>\n"); | 23 | "<th class='left'>Owner</th></tr>\n"); |
25 | 24 | ||
26 | for (i=0; i<cgit_repolist.count; i++) { | 25 | for (i=0; i<cgit_repolist.count; i++) { |
27 | repo = &cgit_repolist.repos[i]; | 26 | repo = &cgit_repolist.repos[i]; |
28 | html("<tr><td>"); | 27 | html("<tr><td>"); |
29 | html_link_open(cgit_repourl(repo->url), NULL, NULL); | 28 | html_link_open(cgit_repourl(repo->url), NULL, NULL); |
30 | html_txt(repo->name); | 29 | html_txt(repo->name); |
31 | html_link_close(); | 30 | html_link_close(); |