workflows: show all templated roles as computed values in sendmail action (#20431)

This commit is contained in:
Thomas NOËL 2017-12-04 19:35:46 +01:00
parent c8f1d7aa6f
commit bb1f118155
1 changed files with 1 additions and 1 deletions

View File

@ -2059,7 +2059,7 @@ class SendmailWorkflowStatusItem(WorkflowStatusItem):
def render_list_of_roles_or_emails(self, roles):
t = []
for r in roles:
if r.startswith('=') or '[' in r:
if r.startswith('=') or Template.is_template_string(r):
t.append(_('computed value'))
elif '@' in r:
t.append(r)