From c47d7877bbbe9339281d4ce50ac4304bc74f4fcb Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 9 Dec 2025 10:21:01 +0100 Subject: [PATCH] Display correct information --- templates/organization/index.html.twig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/organization/index.html.twig b/templates/organization/index.html.twig index 22046c4..e47f594 100644 --- a/templates/organization/index.html.twig +++ b/templates/organization/index.html.twig @@ -18,12 +18,19 @@
{% if organizationsData|length == 0 %} + {% if is_granted('ROLE_SUPER_ADMIN') %} {# style présent juste pour créer de l'espace #}

Aucune organisation trouvée.

Créer une organisation
+ {% else %} +
+

Aucune organisation trouvée. Merci de contacter votre administrateur

+
+ {% endif %} + {% else %}