From e03f41ffbcaf50dff0b3033ec4c6ad5b0d2ecb6e Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 14 Sep 2021 15:56:56 +0200 Subject: [PATCH] user access rights put back in to place --- .../AccompanyingCourseDocument/index.html.twig | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/index.html.twig b/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/index.html.twig index caf370b47..7f97dee1f 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/index.html.twig +++ b/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/index.html.twig @@ -28,22 +28,21 @@ {{ document.title }} {{ document.category.name|localize_translatable_string }} - {# {{ document.scope.name|localize_translatable_string }} #} @@ -57,7 +56,7 @@ - {# {% if is_granted('CHILL_ACCOMPANYING_COURSE_DOCUMENT_CREATE', accompanyingCourse) %} #} + {% if is_granted('CHILL_ACCOMPANYING_COURSE_DOCUMENT_CREATE', accompanyingCourse) %} - {# {% endif %} #} + {% endif %} {% endblock %}