Last change
on this file since 1285 was
486,
checked in by joachim, 18 years ago
|
svn -R propset svn:keywords "Id" .
added layout_application_/edit/create/view
and cleaned that up.
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[464] | 1 | <metal:block define-macro="portalboxgroup"> |
---|
| 2 | <tal:block condition="render_box" |
---|
| 3 | define="padding content/padding|string:0"> |
---|
| 4 | |
---|
| 5 | <div tal:define="rendered python: content.render_cache(options=options,shield=shield, context_obj=here, enable_esi=enable_esi, boxedit=boxedit, template=template); |
---|
| 6 | margin here/margin|string:0" |
---|
| 7 | tal:condition="python: rendered != ''" |
---|
| 8 | tal:attributes="style string:text-align:${content/align};; padding:$margin" |
---|
| 9 | tal:content="structure rendered" /> |
---|
| 10 | </tal:block> |
---|
| 11 | |
---|
| 12 | <div class="boxGroupBoundingBox" tal:condition="not:render_box"> |
---|
| 13 | <div class="boxGroupBoxSlotTitle" i18n:domain="cpsskins"> |
---|
| 14 | <tal:block define="title string:_Slot name_" i18n:translate="" |
---|
| 15 | content="python: mcat and mcat(title) or title" />: |
---|
| 16 | <tal:block content="content/box_group" /> |
---|
| 17 | </div> |
---|
| 18 | <div tal:attributes="style string:padding:${content/padding}"> |
---|
| 19 | <img tal:attributes="src python: base_url + content.getIcon(1)" |
---|
| 20 | width="16" height="16" /> |
---|
| 21 | <tal:block content="content/title" /> |
---|
| 22 | </div> |
---|
| 23 | </div> |
---|
| 24 | |
---|
| 25 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.