backoffice: use description for editable action in workflow schema (#41608) #473
|
@ -48,6 +48,10 @@ class EditableWorkflowStatusItem(WorkflowStatusItem):
|
|||
else:
|
||||
return _('not completed')
|
||||
|
||||
def get_jump_label(self, target_id):
|
||||
# force action description instead of button label
|
||||
return self.render_as_line()
|
||||
|
||||
def i18n_scan(self, base_location):
|
||||
location = '%sitems/%s/' % (base_location, self.id)
|
||||
if self.label:
|
||||
|
|
Loading…
Reference in New Issue