diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index e12037cd2..9a03160f4 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -5,24 +5,95 @@ {% endblock %} {% block content %} +

{{ 'Resume Accompanying Course' | trans }}

- {% if 'DRAFT' == accompanyingCourse.step %} -
- - {{ 'This accompanying course is still a draft'|trans }} - - {{ 'Edit & activate accompanying course'|trans }} - - -
- {% endif %} + {% if 'DRAFT' == accompanyingCourse.step %} +
+ + {{ 'This accompanying course is still a draft'|trans }} + + {{ 'Edit & activate accompanying course'|trans }} + + +
+ {% endif %} -

{{ 'Associated peoples'|trans }}

+
+

{{ 'Associated peoples'|trans }}

-

{{ 'Resources'|trans }}

+ {% if accompanyingCourse.participations.count > 0 %} + + + + + + + + + + + {% for participation in accompanyingCourse.participations %} + + + + + + + {% endfor %} + +
{{ 'First name' | trans }}{{ 'Last name' | trans }}{{ 'Start date' | trans }}{{ 'End date' | trans }}
{{ participation.person.firstName }}{{ participation.person.lastName }}{{ participation.startDate | format_date('short') }}{{ participation.endDate | format_date('short') }}
+ {% else %} +
+ {{ "No Associated peoples recorded" | trans }} +
+ {% endif %} +
-

{{ 'Social actions'|trans }}

- -

{{ 'Last events on accompanying course'|trans }}

+
+

{{ 'Resources'|trans }}

+ {% if accompanyingCourse.resources.count > 0 %} + + + + + + + + + {% for resource in accompanyingCourse.resources %} + + + + + {% endfor %} + +
{{ 'First name' | trans }}{{ 'Last name' | trans }}
{{ resource.person.firstName }}{{ resource.person.lastName }}
+ {% else %} +
+ {{ "No resources recorded" | trans }} +
+ {% endif %} + +
+ +
+

{{ 'Social actions'|trans }}

+ +
+ {{ "Not implemented" | trans }} +
+
+ +
+

{{ 'Last events on accompanying course'|trans }}

+ +
+ {{ "Not implemented" | trans }} +
+
+{% endblock %} + +{% block css %} + {{ encore_entry_link_tags('accompanying_course') }} {% endblock %}