diff website/issues/html/user.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 f63a2b15e628
children 370cc9052239
line wrap: on
line diff
--- a/website/issues/html/user.index.html	Wed Jul 25 12:29:08 2018 +0000
+++ b/website/issues/html/user.index.html	Wed Jul 25 12:30:25 2018 +0000
@@ -53,7 +53,7 @@
  <th tal:condition="context/is_edit_ok" i18n:translate="">Retire</th>
 </tr>
 <tal:block repeat="user batch">
-<tr tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6/3]">
+<tr tal:attributes="class python:['normal', 'alt'][repeat['user'].index%6//3]">
  <td>
   <a tal:attributes="href string:user${user/id}"
      tal:content="user/username">username</a>

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