コード例 #1
0
 def zentinelTabs(self, templateName):
     """Return a list of hashs that define the screen tabs for this object.
     [{'name':'Name','action':'template','selected':False},...]
     """
     tabs = Organizer.zentinelTabs(self, templateName)
     if self.getPrimaryId() != '/zport/dmd/Processes':
         tabs = [t for t in tabs if t['id'] != 'resequence']
     return tabs
コード例 #2
0
 def zentinelTabs(self, templateName):
     """Return a list of hashs that define the screen tabs for this object.
     [{'name':'Name','action':'template','selected':False},...]
     """
     tabs = Organizer.zentinelTabs(self, templateName)
     if self.getPrimaryId() != '/zport/dmd/Processes':
         tabs = [t for t in tabs if t['id'] != 'resequence']
     return tabs