Mercurial > hg-stable
changeset 24130:03f692eee31d
hgweb: clearly outline <tr> block in paper/changeset.tmpl
This particular <tr> block should use the style of its neighboring blocks,
otherwise it's easy to think that the closing '</tr>' is missing.
author | Anton Shestakov <engored@ya.ru> |
---|---|
date | Sat, 10 Jan 2015 21:37:42 +0800 |
parents | 3fc86f1c39d8 |
children | a2d869e22b5e |
files | mercurial/templates/paper/changeset.tmpl tests/test-hgweb-commands.t tests/test-hgweb-diffs.t tests/test-hgweb-removed.t |
diffstat | 4 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templates/paper/changeset.tmpl Sat Jan 10 19:58:28 2015 +0800 +++ b/mercurial/templates/paper/changeset.tmpl Sat Jan 10 21:37:42 2015 +0800 @@ -48,7 +48,8 @@ </tr> <tr> <th class="date">date</th> - <td class="date age">{date|rfc822date}</td></tr> + <td class="date age">{date|rfc822date}</td> +</tr> <tr> <th class="author">parents</th> <td class="author">{ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)}</td>
--- a/tests/test-hgweb-commands.t Sat Jan 10 19:58:28 2015 +0800 +++ b/tests/test-hgweb-commands.t Sat Jan 10 21:37:42 2015 +0800 @@ -874,7 +874,8 @@ </tr> <tr> <th class="date">date</th> - <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr> + <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td> + </tr> <tr> <th class="author">parents</th> <td class="author"></td>
--- a/tests/test-hgweb-diffs.t Sat Jan 10 19:58:28 2015 +0800 +++ b/tests/test-hgweb-diffs.t Sat Jan 10 21:37:42 2015 +0800 @@ -97,7 +97,8 @@ </tr> <tr> <th class="date">date</th> - <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr> + <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td> + </tr> <tr> <th class="author">parents</th> <td class="author"></td> @@ -368,7 +369,8 @@ </tr> <tr> <th class="date">date</th> - <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr> + <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td> + </tr> <tr> <th class="author">parents</th> <td class="author"></td>
--- a/tests/test-hgweb-removed.t Sat Jan 10 19:58:28 2015 +0800 +++ b/tests/test-hgweb-removed.t Sat Jan 10 21:37:42 2015 +0800 @@ -78,7 +78,8 @@ </tr> <tr> <th class="date">date</th> - <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td></tr> + <td class="date age">Thu, 01 Jan 1970 00:00:00 +0000</td> + </tr> <tr> <th class="author">parents</th> <td class="author"><a href="/rev/cb9a9f314b8b">cb9a9f314b8b</a> </td>