diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ea644f22..92c7d177e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -113,3 +113,5 @@ Master branch - [Accompanying period list] Fix label of closing motive - [Person details] Add an "empty" statement on place of birth - [Person list] Add a lock/unlock icon instead of open/closed folder in result list; +- [Admin closing motive] Remove links to Closing motive View; +- [Admin closing motive] Improve icons for active in list of closing motive; diff --git a/Resources/views/ClosingMotive/edit.html.twig b/Resources/views/ClosingMotive/edit.html.twig index 1f0f3de1f..2d465f77e 100644 --- a/Resources/views/ClosingMotive/edit.html.twig +++ b/Resources/views/ClosingMotive/edit.html.twig @@ -7,5 +7,6 @@ {% block admin_content %} {% embed '@ChillMain/CRUD/_edit_content.html.twig' %} {% block content_form_actions_view %}{% endblock %} + {% block content_form_actions_save_and_show %}{% endblock %} {% endembed %} {% endblock %} \ No newline at end of file diff --git a/Resources/views/ClosingMotive/index.html.twig b/Resources/views/ClosingMotive/index.html.twig index 73cae6ce5..7d2259901 100644 --- a/Resources/views/ClosingMotive/index.html.twig +++ b/Resources/views/ClosingMotive/index.html.twig @@ -14,15 +14,23 @@ {{ entity.ordering }} {{ entity|chill_entity_render_box }} - {{ entity.active }} + + {% if entity.active %} + + {% else %} + + {% endif %} +