Ignore:
Timestamp:
15 Dec 2014, 10:48:40 (10 years ago)
Author:
Henrik Bettermann
Message:

Add HTMLDocumentDisplayContentPage which renders only the content part of HTMLDocuments.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/templates/filedisplay.pt

    r11254 r12242  
    1111  </td>
    1212</tr>
     13
     14<tr tal:condition = "python: viewlet.file_exists and getattr(context, 'state', None) == 'published'">
     15  <td class="fieldname" i18n:translate="">
     16    HTML Element:
     17  </td>
     18  <td>
     19    &lt;a href=&quot;
     20    <span tal:replace="python: view.url(context, viewlet.download_name)"></span>
     21    &quot;&gt;<span tal:replace="viewlet/label">FILENAME</span>&lt;/a&gt;
     22  </td>
     23</tr>
     24
Note: See TracChangeset for help on using the changeset viewer.