source: main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/documentsmanagepage.pt @ 12053

Last change on this file since 12053 was 12053, checked in by Henrik Bettermann, 10 years ago

Add second customer document class.
Select document factory when adding documents.
Add last_transition_date attribute and further property attributes to documents.

File size: 1.5 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.ikoba" enctype="multipart/form-data">
3
4  <table class="ikoba-data-table dataTableManage">
5    <thead>
6    <tr>
7      <th>&nbsp;</th>
8      <th i18n:translate="">Document Id</th>
9      <th i18n:translate="">Title</th>
10      <th i18n:translate="">Type</th>
11      <th i18n:translate="">State</th>
12      <th i18n:translate="">Last Transition</th>
13    </tr>
14    </thead>
15    <tbody>
16      <tr tal:repeat="cl context/values">
17         <td>
18          <input type="checkbox"
19                 name="val_id"
20                 tal:attributes="value cl/__name__"
21         tal:condition="python: not view.unremovable(cl)" />
22        </td>
23        <td>
24          <a tal:attributes="href python: view.url(cl)">
25          <span tal:content="cl/document_id">DOCID</span></a>
26        </td>
27        <td>
28          <span tal:content="cl/title">TITLE</span>
29        </td>
30        <td>
31          <span tal:content="cl/translated_classname">CLASSNAME</span>
32        </td>
33        <td>
34          <span tal:content="cl/translated_state">STATE</span>
35        </td>
36        <td>
37          <span tal:content="cl/formatted_transition_date">
38              LASTTRANSITIONDATE
39          </span>
40        </td>
41      </tr>
42    </tbody>
43  </table>
44
45  <div tal:condition="python: view.availableActions and view.manage_documents_allowed">
46    <span tal:repeat="action view/actions"
47          tal:omit-tag="">
48      <input tal:replace="structure action/render"/>
49    </span>
50  </div>
51</form>
Note: See TracBrowser for help on using the repository browser.