[PATCH 3 of 3] hgweb: clearly outline <tr> block in paper/changeset.tmpl
Anton Shestakov
engored at ya.ru
Wed Feb 11 18:21:03 UTC 2015
# HG changeset patch
# User Anton Shestakov <engored at ya.ru>
# Date 1420897062 -28800
# Sat Jan 10 21:37:42 2015 +0800
# Node ID e0abaa13c5f9a1bbd66ab0bab512cc1d7f67b924
# Parent 30f75cfb42034da322cda471eee15814b28841d9
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.
diff --git a/mercurial/templates/paper/changeset.tmpl b/mercurial/templates/paper/changeset.tmpl
--- a/mercurial/templates/paper/changeset.tmpl
+++ b/mercurial/templates/paper/changeset.tmpl
@@ -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>
diff --git a/tests/test-hgweb-commands.t b/tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t
+++ b/tests/test-hgweb-commands.t
@@ -874,7 +874,8 @@ Logs and changes
</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>
diff --git a/tests/test-hgweb-diffs.t b/tests/test-hgweb-diffs.t
--- a/tests/test-hgweb-diffs.t
+++ b/tests/test-hgweb-diffs.t
@@ -97,7 +97,8 @@ revision
</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 @@ revision
</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>
diff --git a/tests/test-hgweb-removed.t b/tests/test-hgweb-removed.t
--- a/tests/test-hgweb-removed.t
+++ b/tests/test-hgweb-removed.t
@@ -78,7 +78,8 @@ revision
</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>
More information about the Mercurial-devel
mailing list