{{ 'accompanying_course_work.goal'|trans }}
+{{ 'accompanying_course_work.results without objective'|trans }}
+{{ 'accompanying_course_work.results'|trans }}
+{{ 'accompanying_course_work.goal'|trans }}
+{{ 'accompanying_course_work.results'|trans }}
+{{ 'accompanying_course_work.no_results'|trans }}
+ {% else %} +{{ 'accompanying_course_work.results'|trans }}
+{{ 'accompanying_course_work.Any work'|trans }}
+ {% endfor %} +{{ 'accompanying_course_work.No work'|trans }}
+{{ 'accompanying_course_work.Any work'|trans }}
{% endfor %} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/_list.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/_list.html.twig new file mode 100644 index 000000000..0b4604283 --- /dev/null +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/_list.html.twig @@ -0,0 +1,136 @@ +{% block content %} + + {% for accompanying_period in accompanying_periods %} ++ + {{ p.person.firstname ~ ' ' ~ p.person.lastname }} + +
+ {% endfor %} + {% else %} + {{ 'No data given'|trans }} + {% endif %} +{{ accompanying_period.requestorPerson.firstname ~ ' ' ~ accompanying_period.requestorPerson.lastname }}
+ {% endif %} + {% if accompanying_period.requestorThirdParty is not null %} +{{ accompanying_period.requestorThirdParty.name }}
+ {% endif %} + {% else %} + {{ 'No data given'|trans }} + {% endif %} +{{ si.title|localize_translatable_string }}
+ {% endfor %} + {% else %} + {{ 'No data given'|trans }} + {% endif %} +{{ 'accompanying_period.dates'|trans }} | - {% if chill_accompanying_periods.fields.user == 'visible' %} -{{ 'Accompanying user'|trans }} | - {% endif %} -{{ 'Remark'|trans }} | -- |
---|---|---|---|
- {% if accompanying_period.closingDate == null %}
- {{ 'accompanying_period.dates_from_%opening_date%'|trans({ '%opening_date%': accompanying_period.openingDate|format_date('long') } ) }}
- {% else %}
- {{ 'accompanying_period.dates_from_%opening_date%_to_%closing_date%'|trans({
- '%opening_date%': accompanying_period.openingDate|format_date('long'),
- '%closing_date%': accompanying_period.closingDate|format_date('long')}
- ) }}
-
- {% if accompanying_period.isOpen == false %}
-
|
- {% if chill_accompanying_periods.fields.user == 'visible' %}
- - {% if accompanying_period.user %} - {{ accompanying_period.user.username }} - {% else %} - {{ 'No accompanying user'|trans }} - {% endif %} - | - {% endif %} -
- {% if accompanying_period is not empty %}
- - {{ accompanying_period.remark|chill_markdown_to_html }} -- {% else %} - {{ null|chill_print_or_message('No remark', 'blockquote') }} - {% endif %} - |
-
-
|
-