source: trunk/skins/lemill/standalone_view.pt @ 1912

Revision 1912, 2.1 KB checked in by gabor, 13 years ago (diff)

fixed #1478 spent 2h

  • Property svn:eol-style set to native
Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2      xml:lang="en"
3      lang="en"
4      xmlns:tal="http://xml.zope.org/namespaces/tal"
5      xmlns:metal="http://xml.zope.org/namespaces/metal"
6      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
7      metal:use-macro="here/standalone_template/macros/master"
8      i18n:domain="lemill">
9
10  <head><title></title></head>
11
12  <body>
13     <metal:fill fill-slot="main">
14      <metal:main_macro define-macro="main"
15            tal:define="portal_type python:here.getPortalTypeName().lower().replace(' ', '_');
16            base_macros here/base/macros;
17            view_template python:'%s_view' % portal_type;
18            view_macros python:path('here/%s/macros|nothing' % view_template);
19            body_macro view_macros/body | body_macro | base_macros/body;
20            folderlisting_macro view_macros/folderlisting | folderlisting | base_macros/folderlisting;
21            footer_macro view_macros/footer | footer_macro | base_macros/footer;
22            body_macro python:test(wf_state=='deleted', path('here/document_byline/macros/deletionnote'),body_macro);
23            showDraftMessage python:here.meta_type in context.getMaterialTypes();
24            errors python:request.get('errors', {})">
25        <link href="standalone_view.css" rel="stylesheet" type="text/css" />
26        <script type="text/javascript" language="javascript" src="AC_RunActiveContent.js"></script>
27        <h1><span tal:replace="title_string | here/title_or_id" />
28            <span i18n:domain="lemill" i18n:translate="text_deleted_heading" tal:condition="python:wf_state=='deleted'">(DELETED)</span>
29        </h1>
30        <tal:has_document_byline tal:condition="exists:here/document_byline">
31        <div metal:use-macro="here/document_byline/macros/byline">
32            Get the byline - contains details about author and modification date.
33        </div>
34        </tal:has_document_byline>
35                                                                                 
36        <metal:use_body use-macro="body_macro" />
37
38        <metal:use_footer use-macro="footer_macro" />
39      </metal:main_macro>
40    </metal:fill>   
41  </body>
42</html>
Note: See TracBrowser for help on using the repository browser.