add baseConceptView property to layoutConceptView
This commit is contained in:
parent
bb25f17ecc
commit
613b01a44f
1 changed files with 6 additions and 1 deletions
|
@ -29,8 +29,9 @@ from zope.traversing.browser import absoluteURL
|
|||
|
||||
from cybertools.meta.interfaces import IOptions
|
||||
from cybertools.util import format
|
||||
from loops.common import adapted
|
||||
from loops.common import adapted, baseObject
|
||||
from loops.i18n.browser import LanguageInfo
|
||||
from loops.browser.concept import ConceptView as BaseConceptView
|
||||
from loops.browser.util import normalizeForUrl as normalize
|
||||
from loops import util
|
||||
|
||||
|
@ -73,6 +74,10 @@ class BaseView(object):
|
|||
def virtualTargetView(self):
|
||||
return self.viewAnnotations.get('targetView')
|
||||
|
||||
@Lazy
|
||||
def baseConceptView(self):
|
||||
return BaseConceptView(baseObject(self.context), self.request)
|
||||
|
||||
@Lazy
|
||||
def node(self):
|
||||
return self.viewAnnotations.get('node')
|
||||
|
|
Loading…
Add table
Reference in a new issue