diff website/issues/html/keyword.index.html @ 5443:447a7647f237

Python 3 preparation: use // division in HTML templates.
author Joseph Myers <jsm@polyomino.org.uk>
date Wed, 25 Jul 2018 12:30:25 +0000
parents 48658dcbac37
children
line wrap: on
line diff
--- a/website/issues/html/keyword.index.html	Wed Jul 25 12:29:08 2018 +0000
+++ b/website/issues/html/keyword.index.html	Wed Jul 25 12:30:25 2018 +0000
@@ -27,7 +27,7 @@
 </tr>
 
 <tal:block repeat="keyword context/list">
-<tr tal:attributes="class python:['normal', 'alt'][repeat['keyword'].index%6/3]">
+<tr tal:attributes="class python:['normal', 'alt'][repeat['keyword'].index%6//3]">
  <td>
   <a tal:attributes="href string:keyword${keyword/id}"
      tal:content="keyword/name">keyword name</a>

Roundup Issue Tracker: http://roundup-tracker.org/