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

login
register
mail settings
Submitter Alexander Plavin
Date July 17, 2013, 7:26 p.m.
Message ID <c2089accc1b8767a3754.1374089177@debian-alexander.dolgopa>
Download mbox | patch
Permalink /patch/1916/
State Accepted
Commit fa0e1ca9fbc0e3492c61d3bda6e7aecd8d34ed7c
Delegated to: Kevin Bullock
Headers show

Comments

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

Patch

diff -r e8e9e2ad39c3 -r c2089accc1b8 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 e8e9e2ad39c3 -r c2089accc1b8 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>