From 6b3eaa013ddd411b09cbff25884182bca2bf4fb1 Mon Sep 17 00:00:00 2001 From: wilsonmoura Date: Mon, 18 Oct 2021 19:40:16 -0300 Subject: [PATCH] #539 -- File submission flags --- .../listControlledListUploadType.html.twig | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/symphony/src/Proethos2/CoreBundle/Resources/views/CRUD/listControlledListUploadType.html.twig b/symphony/src/Proethos2/CoreBundle/Resources/views/CRUD/listControlledListUploadType.html.twig index 07c97367..6c2bd4dc 100644 --- a/symphony/src/Proethos2/CoreBundle/Resources/views/CRUD/listControlledListUploadType.html.twig +++ b/symphony/src/Proethos2/CoreBundle/Resources/views/CRUD/listControlledListUploadType.html.twig @@ -30,19 +30,21 @@ {% for item in items %} - - {{ item.name }} - - {% if item.status %} - {% trans %}active{% endtrans %} - {% else %} - {% trans %}inactive{% endtrans %} - {% endif %} - - - - - + {% if item.slug not in ['protocol', 'opinion'] %} + + {{ item.name }} + + {% if item.status %} + {% trans %}active{% endtrans %} + {% else %} + {% trans %}inactive{% endtrans %} + {% endif %} + + + + + + {% endif %} {% endfor %}