[PATCH 07 of 11] hgweb: make stripes in branch list with CSS

Alexander Plavin me at aplavin.ru
Sat Jul 13 10:38:13 CDT 2013


# HG changeset patch
# User Alexander Plavin <me at aplavin.ru>
# Date 1373723503 -14400
#      Sat Jul 13 17:51:43 2013 +0400
# Node ID e8be3586d1b81671ade1a8e1eed93f7c822eb592
# Parent  4c114146e26d37c1d56e311169603e370b712a4c
hgweb: make stripes in branch list with CSS

diff -r 4c114146e26d -r e8be3586d1b8 mercurial/templates/paper/branches.tmpl
--- a/mercurial/templates/paper/branches.tmpl	Sat Jul 13 17:51:24 2013 +0400
+++ b/mercurial/templates/paper/branches.tmpl	Sat Jul 13 17:51:43 2013 +0400
@@ -47,7 +47,9 @@
  <th>branch</th>
  <th>node</th>
 </tr>
+<tbody class="stripes2">
 {entries % branchentry}
+</tbody>
 </table>
 </div>
 </div>
diff -r 4c114146e26d -r e8be3586d1b8 mercurial/templates/paper/map
--- a/mercurial/templates/paper/map	Sat Jul 13 17:51:24 2013 +0400
+++ b/mercurial/templates/paper/map	Sat Jul 13 17:51:43 2013 +0400
@@ -179,7 +179,7 @@
   </tr>'
 branches = branches.tmpl
 branchentry = '
-  <tr class="tagEntry parity{parity}">
+  <tr class="tagEntry">
     <td>
       <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
         {branch|escape}


More information about the Mercurial-devel mailing list