source: main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/contractpage.pt @ 16594

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

Show validity period on contract pages and slips.

File size: 1.3 KB
Line 
1<br />
2<div class="wfstatus-sub"  i18n:domain="waeup.ikoba">
3  Contract State: <span tal:replace="context/translated_state">
4    CONTRACTSTATE</span>
5</div>
6
7<div class="workflow">
8  <div tal:repeat="msg context/history/messages">
9    <span tal:replace="msg">MESSAGE</span><br />
10  </div>
11</div>
12
13<h1 class="ikoba-content-label"
14    tal:condition="context/title|nothing"
15    tal:content="context/title">TITLE</h1>
16
17<table class="form-table" i18n:domain="waeup.ikoba">
18  <tbody>
19    <tr>
20      <td i18n:translate="" class="fieldname">
21        Contract Type:
22      </td>
23      <td>
24        <span tal:content="context/translated_class_name">CLASSNAME</span>
25      </td>
26    </tr>
27    <tal:widgets content="structure provider:widgets" />
28    <tr>
29      <td i18n:translate="" class="fieldname">
30        Validity Period:
31      </td>
32      <td>
33        <span tal:content="python: layout.formatDate(context.valid_from)">
34          VALIDFROM
35        </span> -
36        <span tal:content="python: layout.formatDate(context.valid_to)">
37          VALIDTO
38        </span>
39      </td>
40    </tr>
41  </tbody>
42</table>
43
44<tal:tc condition="view/terms_and_conditions">
45  <h4 i18n:domain="waeup.ikoba">
46    <span i18n:translate="">Terms and Conditions</span>
47  </h4>
48  <tal:tc content="structure view/terms_and_conditions" />
49</tal:tc>
Note: See TracBrowser for help on using the repository browser.