hgweb: make stripes in branch list with CSS
authorAlexander Plavin <me@aplavin.ru>
Sat, 13 Jul 2013 17:51:43 +0400
changeset 19451 aad410749ff3
parent 19450 ddae9e9b7ca1
child 19452 6f5556454edd
hgweb: make stripes in branch list with CSS
mercurial/templates/paper/branches.tmpl
mercurial/templates/paper/map
--- a/mercurial/templates/paper/branches.tmpl	Sat Jul 13 17:49:20 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>
--- a/mercurial/templates/paper/map	Sat Jul 13 17:49:20 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}