changeset 19448:fa0e1ca9fbc0

hgweb: make stripes in tag list with CSS
author Alexander Plavin <me@aplavin.ru>
date Sat, 13 Jul 2013 17:44:57 +0400
parents 182942b38d24
children 9f471af285a9
files mercurial/templates/paper/map mercurial/templates/paper/tags.tmpl
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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}
--- 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>