Last change
on this file since 12344 was
12344,
checked in by Henrik Bettermann, 10 years ago
|
Display only the first 6 digits of uuids.
|
File size:
1.6 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 tal:condition="view/edit_contracts_allowed"> </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="contract context/values"> |
---|
17 | <td tal:condition="view/edit_contracts_allowed"> |
---|
18 | <input type="checkbox" |
---|
19 | name="val_id" |
---|
20 | tal:attributes="value contract/__name__" |
---|
21 | tal:condition="python: view.remove_contract_allowed(contract)" /> |
---|
22 | </td> |
---|
23 | <td> |
---|
24 | <a tal:attributes="href python: view.url(contract)"> |
---|
25 | <span tal:content="python: contract.contract_id[:6]">CONID</span>...</a> |
---|
26 | </td> |
---|
27 | <td> |
---|
28 | <span tal:content="contract/title">TITLE</span> |
---|
29 | </td> |
---|
30 | <td> |
---|
31 | <span tal:content="contract/translated_class_name">CLASSNAME</span> |
---|
32 | </td> |
---|
33 | <td> |
---|
34 | <span tal:content="contract/translated_state">STATE</span> |
---|
35 | </td> |
---|
36 | <td> |
---|
37 | <span tal:content="contract/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.edit_contracts_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.