diff --git a/CHANGELOG.md b/CHANGELOG.md index 9376be5f8..76a8da430 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -110,3 +110,4 @@ Master branch ============= - [Accompanying period list] Fix period label in list +- [Accompanying period list] Fix label of closing motive diff --git a/Resources/views/AccompanyingPeriod/list.html.twig b/Resources/views/AccompanyingPeriod/list.html.twig index 968285864..ab84aec11 100644 --- a/Resources/views/AccompanyingPeriod/list.html.twig +++ b/Resources/views/AccompanyingPeriod/list.html.twig @@ -28,6 +28,14 @@ '%opening_date%': accompanying_period.openingDate|localizeddate('long', 'none'), '%closing_date%': accompanying_period.closingDate|localizeddate('long', 'none')} ) }} + + {% if accompanying_period.isOpen == false %} +