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]):
|
||||
return self.nodeView.getViewForTarget(p)
|
||||
|
||||
@Lazy
|
||||
def tabview(self):
|
||||
if self.editable:
|
||||
return 'index.html'
|
||||
|
||||
|
||||
class BookOverview(Base, ConceptView):
|
||||
|
||||
|
@ -64,11 +69,6 @@ class SectionView(Base, ConceptView):
|
|||
def macro(self):
|
||||
return book_template.macros['section']
|
||||
|
||||
@Lazy
|
||||
def tabview(self):
|
||||
if self.editable:
|
||||
return 'index.html'
|
||||
|
||||
@Lazy
|
||||
def documentTypeType(self):
|
||||
return self.conceptManager['documenttype']
|
||||
|
|
Loading…
Add table
Reference in a new issue