diff --git a/app/Resources/views/Profile/show_content.html.twig b/app/Resources/views/Profile/show_content.html.twig index 20bb59129..ff120897e 100644 --- a/app/Resources/views/Profile/show_content.html.twig +++ b/app/Resources/views/Profile/show_content.html.twig @@ -72,7 +72,7 @@ credit_cardBadge{% if beneficiary.swipeCards | length > 1 %}s{% endif %}
Aucun badge actif
+ + addAssocier un badge à ton compte + + {% include "swipeCard/_partial/add_modal.html.twig" with { beneficiary: beneficiary } %} +{% endif %} + +{% if beneficiary.getSwipeCards | length %} +Aucun badge actif
+ + addAssocier un badge à ce compte + + {% include "swipeCard/_partial/add_modal.html.twig" with { beneficiary: beneficiary, from_admin: true } %} + {% endif %} + + {% if beneficiary.getSwipeCards | length %} +Aucun badge actif
- addAssocier un badge à ce compte -