Display correct information
This commit is contained in:
parent
88e9c6db6a
commit
c47d7877bb
|
|
@ -18,12 +18,19 @@
|
||||||
|
|
||||||
<div class="card-body ">
|
<div class="card-body ">
|
||||||
{% if organizationsData|length == 0 %}
|
{% if organizationsData|length == 0 %}
|
||||||
|
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
||||||
|
|
||||||
{# style présent juste pour créer de l'espace #}
|
{# style présent juste pour créer de l'espace #}
|
||||||
<div class="div text-center my-5 py-5">
|
<div class="div text-center my-5 py-5">
|
||||||
<h1 class="my-5 ty-5"> Aucune organisation trouvée. </h1>
|
<h1 class="my-5 ty-5"> Aucune organisation trouvée. </h1>
|
||||||
<a href="{{ path('organization_new') }}" class="btn btn-primary">Créer une organisation</a>
|
<a href="{{ path('organization_new') }}" class="btn btn-primary">Créer une organisation</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class="div text-center my-5 py-5">
|
||||||
|
<h1 class="my-5 ty-5"> Aucune organisation trouvée. Merci de contacter votre administrateur </h1>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue