Browse Source

Template newsletters.html.twig

develop
Guillaume Bourgeois 1 year ago
parent
commit
b495603b60
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Resources/views/admin/user/field/newsletters.html.twig

+ 5
- 0
Resources/views/admin/user/field/newsletters.html.twig View File

@@ -0,0 +1,5 @@
{% if entity.instance.getNewsletters()|length %}
<span class="badge badge-success">Oui</span>
{% else %}
<span class="badge badge-secondary">Non</span>
{% endif %}

Loading…
Cancel
Save