Added a new level of configurability in navigation: allow to hide/show every button on every page + bugfixes in page/phase navigation.
This commit is contained in:
parent
3cfc24fe02
commit
2aedf8c88a
12 changed files with 213 additions and 165 deletions
|
@ -73,8 +73,8 @@ class ClassDescriptor(Descriptor):
|
|||
'''Gets the phases defined on fields of this class.'''
|
||||
res = []
|
||||
for fieldName, appyType, klass in self.getOrderedAppyAttributes():
|
||||
if appyType.phase not in res:
|
||||
res.append(appyType.phase)
|
||||
if appyType.page.phase not in res:
|
||||
res.append(appyType.page.phase)
|
||||
return res
|
||||
|
||||
class WorkflowDescriptor(Descriptor):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue