diff options
| author | Jeff Smith | 2017-10-17 23:17:32 -0500 |
|---|---|---|
| committer | Jason A. Donenfeld | 2018-01-19 11:40:49 +0100 |
| commit | 6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9 (patch) | |
| tree | a8a85adbb2a98941634f89dc37cb8f026a9b5823 | |
| parent | 1dd53e3a2ffec730ec27ebe15b3d63e0b417a544 (diff) | |
| download | cgit-6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9.tar.gz cgit-6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9.tar.bz2 cgit-6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9.zip | |
ui-blame: Distinguish hashes column from lines column
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
| -rw-r--r-- | cgit.css | 1 | ||||
| -rw-r--r-- | ui-blame.c | 2 |
2 files changed, 2 insertions, 1 deletions
| @@ -300,6 +300,7 @@ div#cgit table.blob { | |||
| 300 | border-top: solid 1px black; | 300 | border-top: solid 1px black; |
| 301 | } | 301 | } |
| 302 | 302 | ||
| 303 | div#cgit table.blob td.hashes, | ||
| 303 | div#cgit table.blob td.lines { | 304 | div#cgit table.blob td.lines { |
| 304 | margin: 0; padding: 0 0 0 0.5em; | 305 | margin: 0; padding: 0 0 0 0.5em; |
| 305 | vertical-align: top; | 306 | vertical-align: top; |
| @@ -51,7 +51,7 @@ static void emit_blame_entry(struct blame_scoreboard *sb, | |||
| 51 | 51 | ||
| 52 | char *detail = emit_suspect_detail(suspect); | 52 | char *detail = emit_suspect_detail(suspect); |
| 53 | 53 | ||
| 54 | html("<tr><td class='sha1 lines'>"); | 54 | html("<tr><td class='sha1 hashes'>"); |
| 55 | cgit_commit_link(find_unique_abbrev(oid->hash, DEFAULT_ABBREV), detail, | 55 | cgit_commit_link(find_unique_abbrev(oid->hash, DEFAULT_ABBREV), detail, |
| 56 | NULL, ctx.qry.head, oid_to_hex(oid), suspect->path); | 56 | NULL, ctx.qry.head, oid_to_hex(oid), suspect->path); |
| 57 | html("</td>\n"); | 57 | html("</td>\n"); |
