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

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

Show first 9 instead of first 6 id characters.

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="">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="document context/values">
17         <td>
18          <input type="checkbox"
19                 name="val_id"
20                 tal:attributes="value document/__name__"
21         tal:condition="python: not view.unremovable(document)" />
22        </td>
23        <td>
24          <a tal:attributes="href python: view.url(document)">
25          <span tal:content="python: document.document_id[:9]">DOCID</span>...</a>
26        </td>
27        <td>
28          <span tal:content="document/title">TITLE</span>
29        </td>
30        <td>
31          <span tal:content="document/translated_class_name">CLASSNAME</span>
32        </td>
33        <td>
34          <span tal:content="document/translated_state">STATE</span>
35        </td>
36        <td>
37          <span tal:content="document/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.