52 lines
2.2 KiB
XML
52 lines
2.2 KiB
XML
<tal:block tal:define="documents viewlet/links">
|
|
<fieldset tal:condition="documents">
|
|
<legend>Documents rangés dans ce dossier</legend>
|
|
<div class="table-container"
|
|
tal:define="pas_member context/@@pas_member"
|
|
>
|
|
<table class="searchResults">
|
|
<thead><tr><th><input type="checkbox"/></th>
|
|
<th></th>
|
|
<th></th>
|
|
<th>Intitulé</th>
|
|
<th>Auteur</th>
|
|
<th>Dernière modification</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tal:results repeat="item documents">
|
|
<tal:entry tal:define="author python:pas_member.info(item.Creator())">
|
|
<tr>
|
|
<td><input type="checkbox"/></td>
|
|
<td><a class="trash" tal:attributes="href python:item.absolute_url() + '/delete_confirmation'" href="#" title="Supprimer">S</a></td>
|
|
<td><img /></td>
|
|
<td><a
|
|
href="#"
|
|
tal:attributes="href item/absolute_url;
|
|
class string:plop"
|
|
tal:content="item/Title" /></td>
|
|
<td><span class="documentAuthor" tal:condition="author/fullname">
|
|
<a href="#"
|
|
tal:content="author/fullname"
|
|
tal:omit-tag="not:item/Creator"
|
|
tal:attributes="href string:${original_context/@@plone_portal_state/navigation_root_url}/author/${author/username}">
|
|
Bob Dobalina
|
|
</a>
|
|
</span></td>
|
|
<td>
|
|
<span class="documentModified">
|
|
<span tal:replace="python:toLocalizedTime(item.ModificationDate())"
|
|
tal:on-error="string:?">
|
|
August 16, 2001 at 23:35:59
|
|
</span>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</tal:entry>
|
|
</tal:results>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</fieldset>
|
|
</tal:block>
|