16 |
tal:content="structure here/getInstructions"/> |
tal:content="structure here/getInstructions"/> |
17 |
|
|
18 |
<div tal:omit-tag="" |
<div tal:omit-tag="" |
19 |
tal:condition="python:here.pac_tool.numTalkingPoints(here) <= here.getTalkingPoints()">Show them all</div> |
tal:condition="python:here.pac_tool.numTalkingPoints(here) <= here.getTalkingPoints()"> |
20 |
|
<table class="listing"> |
21 |
|
<tbody> |
22 |
|
<metal:block tal:repeat="obj python:here.getFolderContents(suppressHiddenFiles=1)"> |
23 |
|
<tr class="even" |
24 |
|
tal:define="oddrow repeat/obj/odd" |
25 |
|
tal:attributes="class python:test(oddrow, 'even', 'odd')" |
26 |
|
tal:condition="python:obj.Type == 'Talking Point'"> |
27 |
|
<td> |
28 |
|
<img src="#" tal:attributes="src string:${here/portal_url}/${obj/getIcon}" /> |
29 |
|
<a href="#" tal:attributes="href string:${obj/absolute_url}/view" |
30 |
|
tal:content="obj/title_or_id" /> |
31 |
|
</td> |
32 |
|
<td i18n:translate="" tal:content="obj/Type">Type</td> |
33 |
|
<td tal:content="structure python:test(hasattr(obj, 'get_size'), getObjSize(obj), ' ')">Size</td> |
34 |
|
<td tal:content="python:toPortalTime(obj.ModificationDate())">Modification Date</td> |
35 |
|
<td tal:content="structure python:test(obj.Description(), obj.Description(), ' ')"> description </td> |
36 |
|
</tr> |
37 |
|
</metal:block> |
38 |
|
</tbody> |
39 |
|
</table> |
40 |
|
</div> |
41 |
|
|
42 |
</div> |
</div> |
43 |
</div> |
</div> |
44 |
</body> |
</body> |
45 |
</html> |
</html> |