provide 'Loopy' body macro via view
This commit is contained in:
parent
54c3a9e8aa
commit
9cef218aaa
2 changed files with 7 additions and 6 deletions
|
@ -18,6 +18,11 @@
|
||||||
permission="zope.View"
|
permission="zope.View"
|
||||||
layer="loops.browser.skin.Loopy" />
|
layer="loops.browser.skin.Loopy" />
|
||||||
|
|
||||||
|
<page for="*"
|
||||||
|
name="loopy.body_macros"
|
||||||
|
template="loopy/body.pt"
|
||||||
|
permission="zope.Public" />
|
||||||
|
|
||||||
<resource name="loops.css" file="loopy/loops.css"
|
<resource name="loops.css" file="loopy/loops.css"
|
||||||
layer="loops.browser.skin.Loopy" />
|
layer="loops.browser.skin.Loopy" />
|
||||||
<resource name="custom.css" file="loopy/custom.css"
|
<resource name="custom.css" file="loopy/custom.css"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<tal:block i18n:domain="loops">
|
<tal:block i18n:domain="loops">
|
||||||
|
<div metal:define-macro="body">
|
||||||
<div metal:use-macro="views/cybertools.body_macros/body">
|
<div metal:use-macro="views/cybertools.body_macros/body">
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,12 +34,6 @@
|
||||||
|
|
||||||
|
|
||||||
<metal:footer fill-slot="footer">
|
<metal:footer fill-slot="footer">
|
||||||
<div xtal:condition="view/editable"
|
|
||||||
tal:condition="nothing">
|
|
||||||
<span i18n:translate="">For quick creation of notes/links bookmark this link</span>:
|
|
||||||
<a href="#"
|
|
||||||
tal:attributes="href view/popupCreateObjectForm">Create loops Note</a>
|
|
||||||
</div>
|
|
||||||
Powered by
|
Powered by
|
||||||
<b><a href="http://loops.cy55.de">loops</a></b> ·
|
<b><a href="http://loops.cy55.de">loops</a></b> ·
|
||||||
<b><a href="http://wiki.zope.org/zope3">Zope 3</a></b> ·
|
<b><a href="http://wiki.zope.org/zope3">Zope 3</a></b> ·
|
||||||
|
@ -47,5 +42,6 @@
|
||||||
</metal:footer>
|
</metal:footer>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</tal:block>
|
</tal:block>
|
||||||
|
|
Loading…
Add table
Reference in a new issue