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

login
register
mail settings
Submitter Anton Shestakov
Date Sept. 21, 2016, 2:01 p.m.
Message ID <4745840178853f07f186.1474466460@neuro>
Download mbox | patch
Permalink /patch/16729/
State Accepted
Headers show

Comments

Anton Shestakov - Sept. 21, 2016, 2:01 p.m.
# HG changeset patch
# User Anton Shestakov <av6@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.

Patch

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}