diff options
Diffstat (limited to 'ui-log.c')
| -rw-r--r-- | ui-log.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -23,7 +23,7 @@ void print_commit(struct commit *commit) | |||
| 23 | char *qry = fmt("id=%s", sha1_to_hex(commit->object.sha1)); | 23 | char *qry = fmt("id=%s", sha1_to_hex(commit->object.sha1)); |
| 24 | char *url = cgit_pageurl(cgit_query_repo, "commit", qry); | 24 | char *url = cgit_pageurl(cgit_query_repo, "commit", qry); |
| 25 | html_link_open(url, NULL, NULL); | 25 | html_link_open(url, NULL, NULL); |
| 26 | html_txt(info->subject); | 26 | html_ntxt(80, info->subject); |
| 27 | html_link_close(); | 27 | html_link_close(); |
| 28 | html("</td><td>"); | 28 | html("</td><td>"); |
| 29 | html_txt(info->author); | 29 | html_txt(info->author); |
| @@ -48,7 +48,7 @@ void cgit_print_log(const char *tip, int ofs, int cnt) | |||
| 48 | prepare_revision_walk(&rev); | 48 | prepare_revision_walk(&rev); |
| 49 | 49 | ||
| 50 | html("<h2>Log</h2>"); | 50 | html("<h2>Log</h2>"); |
| 51 | html("<table class='list log'>"); | 51 | html("<table class='list nowrap'>"); |
| 52 | html("<tr><th class='left'>Date</th>" | 52 | html("<tr><th class='left'>Date</th>" |
| 53 | "<th class='left'>Message</th>" | 53 | "<th class='left'>Message</th>" |
| 54 | "<th class='left'>Author</th></tr>\n"); | 54 | "<th class='left'>Author</th></tr>\n"); |
