provide body macro declaration for Lobo skin and other minor improvements
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4211 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
6aa174b494
commit
829b271150
3 changed files with 11 additions and 1 deletions
|
@ -431,6 +431,9 @@ class BaseView(GenericView, I18NView):
|
|||
def renderedDescription(self):
|
||||
return self.renderDescription()
|
||||
|
||||
def getObjectForUid(self, uid):
|
||||
return util.getObjectForUid(uid)
|
||||
|
||||
# type listings
|
||||
|
||||
def listTypes(self, include=None, exclude=None, sortOn='title'):
|
||||
|
|
|
@ -336,7 +336,9 @@ class NodeView(BaseView):
|
|||
if ht not in parts:
|
||||
parts.append(ht)
|
||||
if len(parts) < 2:
|
||||
parts.append(super(NodeView, self).headTitle)
|
||||
ht = super(NodeView, self).headTitle
|
||||
if ht not in parts:
|
||||
parts.append(ht)
|
||||
return ' - ' .join(parts)
|
||||
|
||||
@Lazy
|
||||
|
|
|
@ -38,6 +38,11 @@
|
|||
permission="zope.View"
|
||||
layer="loops.browser.skin.Lobo" />
|
||||
|
||||
<page for="*"
|
||||
name="lobo.body_macros"
|
||||
template="lobo/body.pt"
|
||||
permission="zope.Public" />
|
||||
|
||||
<resource name="loops.css" file="lobo/lobo.css"
|
||||
layer="loops.browser.skin.Lobo" />
|
||||
<resource name="print.css" file="lobo/print.css"
|
||||
|
|
Loading…
Add table
Reference in a new issue