-rw-r--r-- | ui-repolist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index d341193..d7311e4 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -25,17 +25,17 @@ void cgit_print_repolist(struct cacheitem *item) | |||
25 | 25 | ||
26 | for (i=0; i<cgit_repolist.count; i++) { | 26 | for (i=0; i<cgit_repolist.count; i++) { |
27 | repo = &cgit_repolist.repos[i]; | 27 | repo = &cgit_repolist.repos[i]; |
28 | html("<tr><td>"); | 28 | html("<tr><td>"); |
29 | html_link_open(cgit_repourl(repo->url), NULL, NULL); | 29 | html_link_open(cgit_repourl(repo->url), NULL, NULL); |
30 | html_txt(repo->name); | 30 | html_txt(repo->name); |
31 | html_link_close(); | 31 | html_link_close(); |
32 | html("</td><td>"); | 32 | html("</td><td>"); |
33 | html_txt(repo->desc); | 33 | html_ntxt(cgit_max_repodesc_len, repo->desc); |
34 | html("</td><td>"); | 34 | html("</td><td>"); |
35 | html_txt(repo->owner); | 35 | html_txt(repo->owner); |
36 | html("</td><td>"); | 36 | html("</td><td>"); |
37 | html_link_open(cgit_pageurl(repo->name, "commit", NULL), | 37 | html_link_open(cgit_pageurl(repo->name, "commit", NULL), |
38 | "Commit: display last commit", NULL); | 38 | "Commit: display last commit", NULL); |
39 | html("C</a> "); | 39 | html("C</a> "); |
40 | html_link_open(cgit_pageurl(repo->name, "diff", NULL), | 40 | html_link_open(cgit_pageurl(repo->name, "diff", NULL), |
41 | "Diff: see changes introduced by last commit", NULL); | 41 | "Diff: see changes introduced by last commit", NULL); |