comparison 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
comparison
equal deleted inserted replaced
5442:afd9fd3a0edb 5443:447a7647f237
10 <th style="padding-right: 10" i18n:translate="">Description</th> 10 <th style="padding-right: 10" i18n:translate="">Description</th>
11 <th style="padding-right: 10" i18n:translate="">Content Type</th> 11 <th style="padding-right: 10" i18n:translate="">Content Type</th>
12 <th style="padding-right: 10" i18n:translate="">Uploaded By</th> 12 <th style="padding-right: 10" i18n:translate="">Uploaded By</th>
13 <th style="padding-right: 10" i18n:translate="">Date</th> 13 <th style="padding-right: 10" i18n:translate="">Date</th>
14 </tr> 14 </tr>
15 <tr tal:repeat="file batch" tal:attributes="class python:['normal', 'alt'][repeat['file'].index%6/3]"> 15 <tr tal:repeat="file batch" tal:attributes="class python:['normal', 'alt'][repeat['file'].index%6//3]">
16 <td> 16 <td>
17 <a tal:attributes="href string:file${file/id}/${file/name}" 17 <a tal:attributes="href string:file${file/id}/${file/name}"
18 tal:content="file/name">dld link</a> 18 tal:content="file/name">dld link</a>
19 </td> 19 </td>
20 <td tal:content="file/description">description</td> 20 <td tal:content="file/description">description</td>

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