diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig index 770966d8b..5af04c843 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig @@ -107,37 +107,35 @@ {% if displayAction is defined and displayAction == true %} -
-
+ {% for d in e.documents %} + {% set suppEvaluations = suppEvaluations|merge([ + {'relatedEntityClass': 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluationDocument', 'relatedEntityId': d.id } + ]) %} + {% endfor %} + {% endfor %} +
  • + {{ chill_entity_workflow_list( + 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWork', + w.id, [], suppEvaluations) }} +
  • +
  • + +
  • +
  • + +
  • + {% endif %} diff --git a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/AccompanyingCourse/list.html.twig b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/AccompanyingCourse/list.html.twig index d00ee7a5e..bc8a042d6 100644 --- a/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/AccompanyingCourse/list.html.twig +++ b/src/Bundle/ChillTaskBundle/Resources/views/SingleTask/AccompanyingCourse/list.html.twig @@ -3,7 +3,7 @@ {% block title 'Tasks for this accompanying period'|trans %} {% block content %} -
    +

    {{ block('title') }}