Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 5442:afd9fd3a0edb | 5443:447a7647f237 |
|---|---|
| 25 <th i18n:translate="">Keyword</th> | 25 <th i18n:translate="">Keyword</th> |
| 26 <th i18n:translate="">Description</th> | 26 <th i18n:translate="">Description</th> |
| 27 </tr> | 27 </tr> |
| 28 | 28 |
| 29 <tal:block repeat="keyword context/list"> | 29 <tal:block repeat="keyword context/list"> |
| 30 <tr tal:attributes="class python:['normal', 'alt'][repeat['keyword'].index%6/3]"> | 30 <tr tal:attributes="class python:['normal', 'alt'][repeat['keyword'].index%6//3]"> |
| 31 <td> | 31 <td> |
| 32 <a tal:attributes="href string:keyword${keyword/id}" | 32 <a tal:attributes="href string:keyword${keyword/id}" |
| 33 tal:content="keyword/name">keyword name</a> | 33 tal:content="keyword/name">keyword name</a> |
| 34 </td> | 34 </td> |
| 35 <td tal:content="python:keyword.description.plain() or | 35 <td tal:content="python:keyword.description.plain() or |
