def addable_actions(self): rule = aq_inner(self.context) info = [] for element in utils.allAvailableActions(rule.event): info.append({ 'title': element.title, 'description': element.description, 'addview': element.addview}) return info
def addable_actions(self): rule = aq_inner(self.context) info = [] for element in utils.allAvailableActions(rule.event): info.append({'title': element.title, 'description': element.description, 'addview': element.addview, }) return info
def available_actions(self): return utils.allAvailableActions(IActionSucceededEvent)