X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/951f550b60befeacd7334aebd64c891e72be5ac4..06de14d0fdb141feab10383ba18c0e81d56f483b:/ui-log.c
diff --git a/ui-log.c b/ui-log.c
index adc9a66..2f90778 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -38,19 +38,17 @@ void print_commit(struct commit *commit)
int cols = 2;
info = cgit_parse_commit(commit);
- html("
| ",
+ ctx.qry.showmsg ? " class='logheader'" : "");
tmp = fmt("id=%s", sha1_to_hex(commit->object.sha1));
tmp = cgit_pageurl(ctx.repo->url, "commit", tmp);
html_link_open(tmp, NULL, NULL);
cgit_print_age(commit->date, TM_WEEK * 2, FMT_SHORTDATE);
html_link_close();
- html(" | ");
- if (ctx.qry.showmsg)
- html("");
+ htmlf(" | ",
+ ctx.qry.showmsg ? " class='logsubject'" : "");
cgit_commit_link(info->subject, NULL, NULL, ctx.qry.head,
sha1_to_hex(commit->object.sha1));
- if (ctx.qry.showmsg)
- html("");
html(" | ");
html_txt(info->author);
if (ctx.repo->enable_log_filecount) {
@@ -72,26 +70,39 @@ void print_commit(struct commit *commit)
if (ctx.repo->enable_log_linecount)
cols++;
}
- htmlf(" |