Mercurial > p > roundup > code
diff website/issues/html/file.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 | baddbae588ad |
| children |
line wrap: on
line diff
--- a/website/issues/html/file.index.html Wed Jul 25 12:29:08 2018 +0000 +++ b/website/issues/html/file.index.html Wed Jul 25 12:30:25 2018 +0000 @@ -12,7 +12,7 @@ <th style="padding-right: 10" i18n:translate="">Uploaded By</th> <th style="padding-right: 10" i18n:translate="">Date</th> </tr> - <tr tal:repeat="file batch" tal:attributes="class python:['normal', 'alt'][repeat['file'].index%6/3]"> + <tr tal:repeat="file batch" tal:attributes="class python:['normal', 'alt'][repeat['file'].index%6//3]"> <td> <a tal:attributes="href string:file${file/id}/${file/name}" tal:content="file/name">dld link</a>
