[gen] Added parameter Ref.collapsible allowing to show/hide (via a cookie in the UI, similar to object history) available or tied items.
This commit is contained in:
parent
73f81d9304
commit
fcf6a52974
6 changed files with 67 additions and 35 deletions
|
@ -1240,6 +1240,11 @@ class BaseMixin:
|
|||
res.append(event)
|
||||
return Object(events=res, totalNumber=len(history))
|
||||
|
||||
def getHistoryCollapse(self):
|
||||
'''Gets a Collapsible instance for showing a collapse or expanded
|
||||
history in this object.'''
|
||||
return Collapsible('appyHistory', self.REQUEST)
|
||||
|
||||
def mayNavigate(self):
|
||||
'''May the currently logged user see the navigation panel linked to
|
||||
this object?'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue