source: cmfdeployment/branches/kenw-p4-wip/skins/deployment_templates/document_byline.pt @ 2380

Last change on this file since 2380 was 2380, checked in by kenw, 8 years ago

Committing new branch intended for Plone 4 compatibility; mostly required imports of new zope packages

File size: 1.6 KB
Line 
1<div class="documentByLine"
2     metal:define-macro="byline"
3     i18n:domain="plone"
4     tal:condition="python: site_properties.allowAnonymousViewAbout or not isAnon"
5     tal:define="creator here/Creator;
6                 creator_home nothing">
7
8  <img src="" alt=""
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       />
14
15  <span tal:condition="creator"
16        i18n:translate="box_created_by">
17    Created by
18  </span>
19
20  <a href="#" tal:condition="creator_home"
21     tal:attributes="href creator_home"
22     tal:content="creator">
23    bob
24  </a>
25
26  <span tal:condition="not: creator_home"
27        tal:content="creator">
28    bob
29  </span>
30
31  <br />
32
33  <tal:contrib condition="here/Contributors">
34    <span i18n:translate="label_contributors">
35      Contributors
36    </span>:
37    <span tal:replace="python: ', '.join(here.Contributors())">
38      Mary
39    </span>
40    <br />
41  </tal:contrib>
42
43  <tal:rights condition="here/Rights">
44    <span tal:replace="here/Rights">
45      Copyleft NiceCorp Inc.
46    </span>
47    <br />
48  </tal:rights>
49
50  <span i18n:translate="box_last_modified">
51    Last modified
52  </span>
53  <span tal:replace="python:here.toLocalizedTime(here.ModificationDate(),long_format=1)">
54    August 16, 2001 at 23:35:59
55  </span>
56
57  <span class="state-expired"
58        tal:condition="python:here.isExpired(here)"
59        i18n:translate="time_expired">
60    expired
61  </span>
62
63</div>
Note: See TracBrowser for help on using the repository browser.