Last change
on this file since 2660 was
2652,
checked in by chervol, 14 years ago
|
#27: Fixed 'field under' URL (force pass blog object to blog_item_view and use it URL in 'field under')
|
-
Property svn:eol-style set to
native
|
File size:
1.3 KB
|
Line | |
---|
1 | <metal:block use-macro="here/global_defines/macros/defines" /> |
---|
2 | <metal:main_macro define-macro="main" |
---|
3 | tal:define="portal_type python:here.getPortalTypeName().lower().replace(' ', ''); |
---|
4 | base_macros here/base/macros; |
---|
5 | view_template python:'%s_view' % portal_type; |
---|
6 | view_macros python:path('here/%s/macros|nothing' % view_template); |
---|
7 | body_macro view_macros/main | base_macros/main | nothing; |
---|
8 | content_macro view_macros/content-core | base_macros/content-core | nothing;"> |
---|
9 | |
---|
10 | <tal:plone3 tal:condition="python:body_macro is not None"> |
---|
11 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
12 | <metal:use_body use-macro="body_macro" /> |
---|
13 | </tal:plone3> |
---|
14 | |
---|
15 | <tal:plone4 tal:condition="python:body_macro is None"> |
---|
16 | <div tal:replace="structure provider:plone.abovecontenttitle" /> |
---|
17 | <h1 class="documentFirstHeading"><metal:field use-macro="python:here.widget('title', mode='view')" /></h1> |
---|
18 | <div tal:replace="structure provider:plone.belowcontenttitle" /> |
---|
19 | <div class="documentDescription"><metal:field use-macro="python:here.widget('description', mode='view')" /></div> |
---|
20 | <div tal:replace="structure provider:plone.abovecontentbody" /> |
---|
21 | <metal:use_body use-macro="content_macro" /> |
---|
22 | <div tal:replace="structure provider:plone.belowcontentbody" /> |
---|
23 | </tal:plone4> |
---|
24 | |
---|
25 | </metal:main_macro> |
---|
Note: See
TracBrowser
for help on using the repository browser.