From c1c90293cafaa7db975ffb58f1a2b12cfd4f567f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9o=20BOYER?= <t.boyer@si17.lan>
Date: Thu, 2 May 2024 17:22:53 +0200
Subject: [PATCH] Fix liste des AIPD

---
 templates/Aipd/Analyse_impact/list.html.twig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/Aipd/Analyse_impact/list.html.twig b/templates/Aipd/Analyse_impact/list.html.twig
index 58d73604a..a06286692 100644
--- a/templates/Aipd/Analyse_impact/list.html.twig
+++ b/templates/Aipd/Analyse_impact/list.html.twig
@@ -55,7 +55,9 @@
                                 <th scope="col">
                                     <input class="form-control" type="text" id="search_modele" placeholder="{{ 'aipd.analyse_impact.list.modele'|trans }}" style="width: 100%;">
                                 </th>
-                                <th scope="col"></th>
+                                {% if is_granted('ROLE_REFERENT') %}
+                                    <th scope="col"></th> <!-- Structure -->
+                                {% endif %}
                                 <th scope="col"></th>
                                 <th scope="col"></th>
                                 <th scope="col"></th>
-- 
GitLab