diff --git a/Resources/views/AccompanyingPeriod/list.html.twig b/Resources/views/AccompanyingPeriod/list.html.twig index e416a4351..35d4c07e4 100644 --- a/Resources/views/AccompanyingPeriod/list.html.twig +++ b/Resources/views/AccompanyingPeriod/list.html.twig @@ -10,43 +10,35 @@ {{ 'Opening date'|trans }} {{ 'Closing date'|trans }} + {{ 'Remark'|trans }}   - {% set i = 0 %} {% for accompanying_period in accompanying_periods %} - + {{ accompanying_period.openingDate|localizeddate('long', 'none', app.request.locale) }} {% spaceless %} {% if accompanying_period.isOpen %} {{ 'Still open'|trans }} - {% else %} {{ accompanying_period.closingDate|localizeddate('long', 'none', app.request.locale) }} {% endif %} - {% endspaceless %} + + {{ accompanying_period.remark }} +
{{ 'Edit'|trans }}
- {% if accompanying_period.remark is not empty %} - - -
{{ accompanying_period.remark }}
- - - {% endif %} - {% set i = i+1 %} {% endfor %} -