This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
collective.dms.basecontent/src/collective/dms/basecontent/related-docs-display.pt

37 lines
1.4 KiB
XML

<span id="" class=""
i18n:domain="collective.dms.basecontent"
tal:attributes="id view/id;
class view/klass;
style view/style;
title view/title;
lang view/lang;
onclick view/onclick;
ondblclick view/ondblclick;
onmousedown view/onmousedown;
onmouseup view/onmouseup;
onmouseover view/onmouseover;
onmousemove view/onmousemove;
onmouseout view/onmouseout;
onkeypress view/onkeypress;
onkeydown view/onkeydown;
onkeyup view/onkeyup">
<table class="listing nosort">
<thead>
<th i18n:translate="">Type</th>
<th i18n:translate="">Title</th>
</thead>
<tbody>
<tal:repeat tal:repeat="value view/tuples">
<tr tal:define="oddrow repeat/value/odd"
tal:attributes="class python:'odd' if oddrow else 'even'">
<td tal:content="python:value[2]" />
<td>
<a href="#"
tal:content="python:value[1]"
tal:attributes="href python:value[0]"/>
</td>
</tr>
</tal:repeat>
</tbody>
</table>
</span>