summaryrefslogtreecommitdiff
path: root/ui-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/ui-log.c b/ui-log.c
index 631e46d..adc9a66 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -35,6 +35,7 @@ void print_commit(struct commit *commit)
{
struct commitinfo *info;
char *tmp;
+ int cols = 2;
info = cgit_parse_commit(commit);
html("<tr><td>");
@@ -66,15 +67,15 @@ void print_commit(struct commit *commit)
}
html("</td></tr>\n");
if (ctx.qry.showmsg) {
- html("<tr class='nohover'><td></td><td><div class='commit-msg'>");
- html_txt(info->msg);
- html("</div><br/></td><td></td>");
if (ctx.repo->enable_log_filecount) {
- html("<td></td>");
+ cols++;
if (ctx.repo->enable_log_linecount)
- html("<td></td>");
+ cols++;
}
- html("</tr>\n");
+ htmlf("<tr class='nohover'><td></td><td colspan='%d'><div class='commit-msg'>",
+ cols);
+ html_txt(info->msg);
+ html("</div><br/></td></tr>\n");
}
cgit_free_commitinfo(info);
}
itle='2014-03-19 18:15:17 -0600'>2014-03-19Team pass: enable multiple keys and per directoryJason A. Donenfeld2-40/+75 2014-03-18Shred shm files.Jason A. Donenfeld3-1/+4 2014-03-18Do not compress passwords.Jason A. Donenfeld1-1/+1 2013-09-14Use a glob in the pattern match instead of using two comparisons for [yY].Chris Down1-1/+1 2013-09-14Rephrase awkward/confusing message about enabling echo during password entry.Chris Down1-3/+3 2013-09-14Fix directory traversal for reencryption when $PREFIX is a symlinkBrian Shore1-1/+1 2013-08-26Makefile: Do not install bash completion to /etcLukas Fleischer1-3/+2 2013-05-22check if a passfile exists before checking for directoryBrian Mattern1-13/+12