backoffice: use description for editable action in workflow schema (#41608) #473

Merged
fpeters merged 1 commits from wip/41608-editable-workflow-schema-text into main 2023-07-14 09:05:46 +02:00
1 changed files with 4 additions and 0 deletions

View File

@ -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: