source: main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser_templates/htmldocumentpage.pt @ 12243

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

Add HTMLDocumentDisplayContentPage which renders only the content part of HTMLDocuments.

Include <a> element on display pages for copy and paste.

File size: 1.2 KB
Line 
1<div class="wfstatus-sub"  i18n:domain="waeup.ikoba">
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.ikoba"
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;
38        <span tal:replace="python: view.url(context, 'display')"></span>
39        &quot;&gt;<span tal:replace="context/title">FILENAME</span>&lt;/a&gt;
40      </td>
41    </tr>
42  </tbody>
43</table>
Note: See TracBrowser for help on using the repository browser.