Mercurial > p > roundup > code
diff website/issues/html/_generic.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 | dc91567358f8 |
| children |
line wrap: on
line diff
--- a/website/issues/html/_generic.index.html Wed Jul 25 12:29:08 2018 +0000 +++ b/website/issues/html/_generic.index.html Wed Jul 25 12:30:25 2018 +0000 @@ -60,7 +60,7 @@ </tr> <tal:block repeat="item context/list"> <tr tal:condition="item/is_view_ok" - tal:attributes="class python:['normal', 'alt'][repeat['item'].index%6/3]"> + tal:attributes="class python:['normal', 'alt'][repeat['item'].index%6//3]"> <td tal:repeat="property context/propnames" tal:content="python: item[property] or default" > </td>
