Feature: add cc users in workflow: move isNotificationCc to WorkflowNotificationHandler

This commit is contained in:
nobohan
2023-03-29 11:18:23 +02:00
parent e45952f28c
commit a8c2750ac8
6 changed files with 28 additions and 28 deletions

View File

@@ -6,7 +6,6 @@
'full_content': true,
'fold_item': true,
'action_button': true,
'notification_cc': notificationCc,
} %}{#
#}
{% endfor %}

View File

@@ -51,7 +51,7 @@
{% set notification = data.notification %}
{% include 'ChillMainBundle:Notification:_list_item.html.twig' with {
'fold_item': true,
'notification_cc': data.isNotificationCc
'notification_cc': data.template_data.notificationCc is defined ? data.template_data.notificationCc : false
} %}
{% endfor %}
</div>

View File

@@ -28,7 +28,7 @@
'action_button': false,
'full_content': true,
'fold_item': false,
'notification_cc': notificationCc
'notification_cc': handler.getTemplateData(notification).notificationCc is defined ? handler.getTemplateData(notification).notificationCc : false
} %}
</div>