source: main/waeup.kofa/trunk/src/waeup/kofa/documents/browser_templates/htmldocumentpage.pt @ 13599

Last change on this file since 13599 was 13144, checked in by Henrik Bettermann, 9 years ago

More docs and adjustments in Python code.

File size: 1.2 KB
Line 
1<div class="wfstatus-sub"  i18n:domain="waeup.kofa">
2  Document State: <span tal:replace="context/translated_state">
3    STATE</span>
4</div>
5
6<div class="workflow">
7  <div tal:repeat="msg context/history/messages">
8    <span tal:replace="msg">MESSAGE</span><br />
9  </div>
10</div>
11
12<table class="form-table" i18n:domain="waeup.kofa"
13  tal:define="files provider:files">
14  <tbody>
15    <tr>
16      <td i18n:translate="" class="fieldname">
17        Document Type:
18      </td>
19      <td>
20        <span tal:content="context/translated_class_name">CLASSNAME</span>
21      </td>
22    </tr>
23    <tal:widgets content="structure provider:widgets" />
24    <tr>
25      <td i18n:translate="" class="fieldname">
26        Content:
27      </td>
28      <td>
29        <span tal:content="structure view/html">HTML</span>
30      </td>
31    </tr>
32    <tr tal:condition="python: getattr(context, 'state', None) == 'published'">
33      <td i18n:translate="" class="fieldname">
34        HTML Element:
35      </td>
36      <td>
37        &lt;a href=&quot;<span tal:replace="python: view.url(context, 'display')"></span>&quot;&gt;<span tal:replace="context/title">
38        FILENAME
39        </span>&lt;/a&gt;
40      </td>
41    </tr>
42  </tbody>
43</table>
Note: See TracBrowser for help on using the repository browser.