mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
Update path to twig template with new syntax
This commit is contained in:
@@ -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 %}
|
||||
|
@@ -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 %}
|
||||
|
@@ -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 %}
|
||||
|
@@ -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 %}
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user