workflows: add (conditional) to manual jump label in graphs (#54824)

This commit is contained in:
Frédéric Péters 2021-06-15 08:48:01 +02:00
parent 39d7b83bd6
commit b3c171bfeb
1 changed files with 2 additions and 0 deletions

View File

@ -2247,6 +2247,8 @@ class WorkflowStatusItem(XmlSerialisable):
label += ' ' + str(_('(to last marker)'))
if getattr(self, 'set_marker_on_status', False):
label += ' ' + str(_('(and set marker)'))
if getattr(self, 'condition', None):
label += ' ' + str(_('(conditional)'))
else:
label = self.render_as_line()
return label