html nearer to conventions

This commit is contained in:
Katja Süss 2017-07-29 11:33:53 +02:00
parent 78abff152d
commit 100690ccdf
1 changed files with 8 additions and 6 deletions

View File

@ -89,7 +89,7 @@
<tal:block repeat="item batch"> <tal:block repeat="item batch">
<tr class="commentrow" <tr class="commentrow"
tal:define="even repeat/item/even; tal:define="even repeat/item/even;
email python:getattr(item.getObject(), 'author_email')" email python:getattr(item.getObject(), 'author_email');"
tal:attributes="class python: even and 'odd' or 'even'"> tal:attributes="class python: even and 'odd' or 'even'">
<td class="notDraggable"> <td class="notDraggable">
<input type="checkbox" <input type="checkbox"
@ -106,12 +106,14 @@
</td> </td>
<td> <td>
<span tal:content="python:item.author_name or item.Creator">Name</span> <span tal:content="python:item.author_name or item.Creator">Name</span>
<tal:email tal:condition="email"><br /><a <tal:email tal:condition="email">
tal:attributes="href string:mailto:$email" <br/>
tal:content="email">Email</a></tal:email> <a tal:attributes="href string:mailto:$email;"
tal:content="email">Email
</a>
</tal:email>
</td> </td>
<td tal:content="python:toLocalizedTime(item.ModificationDate, <td tal:content="python:toLocalizedTime(item.ModificationDate, long_format=1)"/>
long_format=1)" />
<td> <td>
<a tal:attributes="href item/getURL" <a tal:attributes="href item/getURL"
tal:content="item/in_response_to" /> tal:content="item/in_response_to" />