mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
bugfix in notificationhandler. Not sure about the fix in the template
This commit is contained in:
parent
97d2e3d5b5
commit
76932e6e8c
@ -2,7 +2,7 @@
|
|||||||
<h2>
|
<h2>
|
||||||
{{ 'workflow_'|trans }}
|
{{ 'workflow_'|trans }}
|
||||||
</h2>
|
</h2>
|
||||||
{% include handler.templateTitle(l.entity_workflow) with handler.templateTitleData(entity_workflow)|merge({
|
{% include handler.templateTitle(entity_workflow) with handler.templateTitleData(entity_workflow)|merge({
|
||||||
'description': true,
|
'description': true,
|
||||||
'breadcrumb': true,
|
'breadcrumb': true,
|
||||||
'add_classes': 'ms-3 h3'
|
'add_classes': 'ms-3 h3'
|
||||||
|
@ -23,6 +23,12 @@ class WorkflowNotificationHandler implements NotificationHandlerInterface
|
|||||||
|
|
||||||
private EntityWorkflowRepository $entityWorkflowRepository;
|
private EntityWorkflowRepository $entityWorkflowRepository;
|
||||||
|
|
||||||
|
public function __construct(EntityWorkflowRepository $entityWorkflowRepository, EntityWorkflowManager $entityWorkflowManager)
|
||||||
|
{
|
||||||
|
$this->entityWorkflowRepository = $entityWorkflowRepository;
|
||||||
|
$this->entityWorkflowManager = $entityWorkflowManager;
|
||||||
|
}
|
||||||
|
|
||||||
public function getTemplate(Notification $notification, array $options = []): string
|
public function getTemplate(Notification $notification, array $options = []): string
|
||||||
{
|
{
|
||||||
return '@ChillMain/Workflow/_notification_include.html.twig';
|
return '@ChillMain/Workflow/_notification_include.html.twig';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user