Patchwork [03,of,11] hgweb: make stripes in tag list with CSS

login
register
mail settings
Submitter Alexander Plavin
Date July 13, 2013, 3:38 p.m.
Message ID <08056d805b95c5ce6620.1373729889@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1861/
State Superseded
Commit fa0e1ca9fbc0e3492c61d3bda6e7aecd8d34ed7c
Headers show

Comments

Alexander Plavin - July 13, 2013, 3:38 p.m.
# HG changeset patch
# User Alexander Plavin <me@aplavin.ru>
# Date 1373723097 -14400
#      Sat Jul 13 17:44:57 2013 +0400
# Node ID 08056d805b95c5ce66204a67fbc1e9e47f27b699
# Parent  dd27016959cb8b0535d5238c72cd92e5630a14db
hgweb: make stripes in tag list with CSS

Patch

diff -r dd27016959cb -r 08056d805b95 mercurial/templates/paper/map
--- a/mercurial/templates/paper/map	Sat Jul 13 17:44:46 2013 +0400
+++ b/mercurial/templates/paper/map	Sat Jul 13 17:44:57 2013 +0400
@@ -155,7 +155,7 @@ 
   </tr>'
 tags = tags.tmpl
 tagentry = '
-  <tr class="tagEntry parity{parity}">
+  <tr class="tagEntry">
     <td>
       <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
         {tag|escape}
diff -r dd27016959cb -r 08056d805b95 mercurial/templates/paper/tags.tmpl
--- a/mercurial/templates/paper/tags.tmpl	Sat Jul 13 17:44:46 2013 +0400
+++ b/mercurial/templates/paper/tags.tmpl	Sat Jul 13 17:44:57 2013 +0400
@@ -46,7 +46,9 @@ 
  <th>tag</th>
  <th>node</th>
 </tr>
+<tbody class="stripes2">
 {entries%tagentry}
+</tbody>
 </table>
 </div>
 </div>