This website works better with JavaScript.
Home
Explore
Help
Sign In
Laclic
/
CaracoleBundle
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Template newsletters.html.twig
develop
Guillaume Bourgeois
1 year ago
parent
8cad742b45
commit
b495603b60
1 changed files
with
5 additions
and
0 deletions
Split View
Show Diff Stats
+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 %}
Write
Preview
Loading…
Cancel
Save