show icon for tabular view
This commit is contained in:
parent
460fad9212
commit
61562b6af6
1 changed files with 5 additions and 5 deletions
|
@ -50,6 +50,11 @@ class Base(object):
|
||||||
for p in self.context.getParents([self.isPartOfPredicate]):
|
for p in self.context.getParents([self.isPartOfPredicate]):
|
||||||
return self.nodeView.getViewForTarget(p)
|
return self.nodeView.getViewForTarget(p)
|
||||||
|
|
||||||
|
@Lazy
|
||||||
|
def tabview(self):
|
||||||
|
if self.editable:
|
||||||
|
return 'index.html'
|
||||||
|
|
||||||
|
|
||||||
class BookOverview(Base, ConceptView):
|
class BookOverview(Base, ConceptView):
|
||||||
|
|
||||||
|
@ -64,11 +69,6 @@ class SectionView(Base, ConceptView):
|
||||||
def macro(self):
|
def macro(self):
|
||||||
return book_template.macros['section']
|
return book_template.macros['section']
|
||||||
|
|
||||||
@Lazy
|
|
||||||
def tabview(self):
|
|
||||||
if self.editable:
|
|
||||||
return 'index.html'
|
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def documentTypeType(self):
|
def documentTypeType(self):
|
||||||
return self.conceptManager['documenttype']
|
return self.conceptManager['documenttype']
|
||||||
|
|
Loading…
Add table
Reference in a new issue