source: trunk/skins/lemill/lemill_trash_view.pt @ 1698

Revision 1698, 795 bytes checked in by pjotr, 13 years ago (diff)

Default view for trash folder and a method for getting content of trash folder from catalog

Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/main_template/macros/master"
4      i18n:domain="lemill">
5<body>
6
7<div metal:fill-slot="main" style="width:100%">
8
9    <h1>Trash folder</h1>
10
11    <table tal:condition="context/getTrashFolderContents" width="100%">
12        <tr>
13            <th align="left">Number</th>
14            <th align="left">Title</th>
15            <th align="left">Meta-Type</th>
16        </tr>
17        <tr tal:repeat="item context/getTrashFolderContents">
18            <td tal:content="repeat/item/number">#</td>
19            <td><a href="" tal:attributes="href item/getId" tal:content="item/Title">Title</a></td>
20            <td tal:content="item/meta_type">Meta-Type</td>
21        </tr>
22    </table>
23</div>
24</body>
25</html>
26
Note: See TracBrowser for help on using the repository browser.