source: products/quintagroup.mobileextender/trunk/quintagroup/mobileextender/skins/mobile_extender/document_view.pt @ 1561

Last change on this file since 1561 was 754, checked in by piv, 17 years ago

copied from trunk

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/main_template/macros/master"
4      i18n:domain="plone">
5<body><metal:main fill-slot="main"><tal:main-macro metal:define-macro="main"
6           tal:define="mobile_text here/mobile_content | string:;">
7
8      <div tal:condition="mobile_text"
9           tal:replace="structure mobile_text" />
10
11      <tal:block condition="not:mobile_text"
12                 on-error="string:">
13        <h1 tal:content="object_title" class="documentFirstHeading">
14          Title or id
15        </h1>
16        <p class="documentDescription"
17           tal:content="here/Description"
18           tal:condition="here/Description">
19            Description
20        </p>
21        <div class="stx"
22             tal:define="text python: here.CookedBody(stx_level=2)"
23             tal:condition="text"
24             tal:attributes="class python:test(here.Format() in ('text/structured',
25                                                   'text/x-rst', ), 'stx', 'plain')">
26            <div tal:replace="structure text" />
27        </div>
28      </tal:block>
29
30</tal:main-macro></metal:main>
31</body>
32</html>
Note: See TracBrowser for help on using the repository browser.