def _get_other_actions(self): """ Return the description of other available actions : signed_status duplicate ... """ result = [] result.append(self._get_duplicate_button()) result.extend(TaskRestView._get_other_actions(self)) return result
def _get_other_actions(self): """ Return the description of other available actions : signed_status duplicate ... """ result = [] result.append(self._get_duplicate_button()) if self.request.has_permission('set_signed_status.estimation'): result.append(self._get_signed_status_button()) result.extend(TaskRestView._get_other_actions(self)) return result
def _get_other_actions(self): """ Return the description of other available actions : signed_status duplicate ... """ result = [] result.append(self._get_duplicate_button()) if self.request.has_permission('set_signed_status.estimation'): result.append(self._get_signed_status_button()) result.extend( TaskRestView._get_other_actions(self) ) return result