root/skins/PloneXL8/document_byline_xl8.pt

Revision 9, 2.4 kB (checked in by matt_dorn@yahoo.com, 4 years ago)

major revisions for v 0.4

Line 
1 <div metal:define-macro="byline"
2      i18n:domain="plone"
3      tal:condition="python: site_properties.allowAnonymousViewAbout or not isAnon"
4      tal:define="creator here/getTransOwner;">
5
6     <div class="documentByLine">
7         <img src="" alt=""
8            title="This document is locked."
9            tal:define="locked portal_object/lock_icon.gif;
10                        lockable python:hasattr(here, 'wl_isLocked');"
11            tal:condition="python:lockable and here.wl_isLocked()"
12            tal:replace="structure python:locked.tag(title='Locked')"
13            i18n:attributes="title label_document_locked;"
14            />
15
16         <tal:name tal:condition="creator"
17             tal:define="author python:mtool.getMemberInfo(creator)">
18           <span>
19             Owner:
20           <a href="#"
21              tal:attributes="href string:${portal_url}/author/${creator}"
22              tal:content="python:author and author['fullname'] or creator"
23              tal:omit-tag="not:author">
24             Bob Dobalina
25           </a>
26           </span>
27
28           &mdash;
29
30         </tal:name>
31
32         <span i18n:translate="box_last_modified">
33         last modified
34         </span>
35         <span tal:replace="python:here.toLocalizedTime(here.getTranslationModTime(),long_format=1)">
36         August 16, 2001 at 23:35:59
37         </span>
38
39         <span class="state-expired"
40             tal:condition="python:portal.isExpired(here)"
41             i18n:translate="time_expired">
42         &mdash; expired
43         </span>
44
45         <span tal:define="locked portal_object/lock_icon.gif"
46               tal:condition="isLocked">
47             <img src=""
48                  tal:replace="structure python:locked.tag(title='This item is locked')"
49                  alt="Object locked"
50                  i18n:attributes="alt label_object_locked;" />
51         </span>
52
53         <div tal:condition="here/Contributors"
54              i18n:translate="text_contributors">
55             Contributors:
56             <span i18n:name="name"
57                   tal:omit-tag=""
58                   tal:content="python: ', '.join(here.Contributors())">
59               Mary
60             </span>
61         </div>
62
63         <tal:rights condition="here/Rights">
64         <div tal:replace="here/Rights">
65           Copyleft NiceCorp Inc.
66         </div>
67         </tal:rights>
68
69         <span metal:use-macro="here/review_history/macros/review_history" />
70
71     </div>
72
73 </div>
Note: See TracBrowser for help on using the browser.