Update path to twig template with new syntax

This commit is contained in:
2023-07-28 12:16:50 +02:00
parent 55b8502896
commit e839b03cc9
111 changed files with 220 additions and 223 deletions

View File

@@ -14,7 +14,7 @@
{% else %}
<div class="flex-table chill-task-list">
{% for task in tasks %}
{% include 'ChillTaskBundle:SingleTask/List:index_item.html.twig' with { 'showContext' : false } %}
{% include '@ChillTask/SingleTask/List/index_item.html.twig' with { 'showContext' : false } %}
{% endfor %}
</div>
{% endif %}

View File

@@ -1,4 +1,4 @@
{% extends 'ChillMainBundle::layout.html.twig' %}
{% extends '@ChillMain/layout.html.twig' %}
{% block title 'Tasks'|trans %}
@@ -14,7 +14,7 @@
{% else %}
<div class="flex-table chill-task-list">
{% for task in tasks %}
{% include 'ChillTaskBundle:SingleTask/List:index_item.html.twig' with { 'showContext' : true} %}
{% include '@ChillTask/SingleTask/List/index_item.html.twig' with { 'showContext' : true} %}
{% endfor %}
</div>
{% endif %}

View File

@@ -14,7 +14,7 @@
{% else %}
<div class="flex-table chill-task-list">
{% for task in tasks %}
{% include 'ChillTaskBundle:SingleTask/List:index_item.html.twig' with { 'showContext' : true} %}
{% include '@ChillTask/SingleTask/List/index_item.html.twig' with { 'showContext' : true} %}
{% endfor %}
</div>
{% endif %}

View File

@@ -16,7 +16,7 @@
{% else %}
<div class="flex-table chill-task-list">
{% for task in tasks %}
{% include 'ChillTaskBundle:SingleTask/List:index_item.html.twig' with { 'showContext' : false } %}
{% include '@ChillTask/SingleTask/List/index_item.html.twig' with { 'showContext' : false } %}
{% endfor %}
</div>
{% endif %}

View File

@@ -99,7 +99,7 @@ class SingleTaskTaskLifeCycleEventTimelineProvider implements TimelineProviderIn
}
return [
'template' => 'ChillTaskBundle:Timeline:single_task_transition_task_context.html.twig',
'template' => '@ChillTask/Timeline/single_task_transition_task_context.html.twig',
'template_data' => [
'task' => $args['task'],
'event' => $entity,

View File

@@ -91,7 +91,7 @@ class TaskLifeCycleEventTimelineProvider implements TimelineProviderInterface
$transition = $this->getTransitionByName($entity->getTransition(), $workflow);
return [
'template' => 'ChillTaskBundle:Timeline:single_task_transition.html.twig',
'template' => '@ChillTask/Timeline/single_task_transition.html.twig',
'template_data' => [
'context' => $context,
'event' => $entity,