show site title also when accessing pages from the menu (= home) page
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3845 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
7742c2e4c0
commit
759b5d479e
1 changed files with 2 additions and 1 deletions
|
@ -302,7 +302,8 @@ class NodeView(BaseView):
|
|||
@Lazy
|
||||
def headTitle(self):
|
||||
menuObject = self.menuObject
|
||||
if menuObject is not None and menuObject != self.context:
|
||||
if menuObject is not None and (menuObject != self.context or
|
||||
self.virtualTarget):
|
||||
prefix = super(NodeView, self.menu).headTitle + ' - '
|
||||
else:
|
||||
prefix = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue