[PATCH 2 of 5] monoblue: tweak branch table's last row's cell colspan on summary page

Anton Shestakov av6 at dwimlabs.net
Wed Sep 21 10:01:00 EDT 2016


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1474460375 -28800
#      Wed Sep 21 20:19:35 2016 +0800
# Node ID 4745840178853f07f186762d984a6ea53189be07
# Parent  bfa565cda4197eb67186cf25957b4712ecaa73d1
monoblue: tweak branch table's last row's cell colspan on summary page

This table only has 3 columns, so max sensible colspan is 3.

diff --git a/mercurial/templates/monoblue/summary.tmpl b/mercurial/templates/monoblue/summary.tmpl
--- a/mercurial/templates/monoblue/summary.tmpl
+++ b/mercurial/templates/monoblue/summary.tmpl
@@ -71,7 +71,7 @@
     <table>
     {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}


More information about the Mercurial-devel mailing list