index 0a71c54d7640a5b6cbcf1643dbf94b35cf3f162a..cb371b5ea332e3f15a9763dcd4aa20acf24e17f3 100644 (file)
<th>Phone number</th>
</tr>
<tr tal:repeat="user context/list"
<th>Phone number</th>
</tr>
<tr tal:repeat="user context/list"
- tal:attributes="class python:['row-normal', 'row-alt'][repeat['user'].even()]">
+ 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>
<td>
<a tal:attributes="href string:user${user/id}"
tal:content="user/username">username</a>