changeset 29982:c89b55c8f936

gitweb: tweak branch table's last row's cell colspan on summary page This table only has 3 columns, so max sensible colspan is 3.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 21 Sep 2016 19:52:48 +0800
parents 129e38a76f2c
children c6e829347561
files mercurial/templates/gitweb/summary.tmpl tests/test-hgweb-commands.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/gitweb/summary.tmpl	Wed Sep 21 03:39:37 2016 +0000
+++ b/mercurial/templates/gitweb/summary.tmpl	Wed Sep 21 19:52:48 2016 +0800
@@ -60,7 +60,7 @@
 <table cellspacing="0">
 {branches%branchentry}
 <tr class="light">
-  <td colspan="4"><a class="list"  href="{url|urlescape}branches{sessionvars%urlparameter}">...</a></td>
+  <td colspan="3"><a class="list" href="{url|urlescape}branches{sessionvars%urlparameter}">...</a></td>
 </tr>
 </table>
 {footer}
--- a/tests/test-hgweb-commands.t	Wed Sep 21 03:39:37 2016 +0000
+++ b/tests/test-hgweb-commands.t	Wed Sep 21 19:52:48 2016 +0800
@@ -1687,7 +1687,7 @@
   </td>
   </tr>
   <tr class="light">
-    <td colspan="4"><a class="list"  href="/branches?style=gitweb">...</a></td>
+    <td colspan="3"><a class="list" href="/branches?style=gitweb">...</a></td>
   </tr>
   </table>
   <script type="text/javascript">process_dates()</script>