We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf12ce commit a8a93f2Copy full SHA for a8a93f2
1 file changed
templates/EasyAdminBundle/Fields/advisory_count.html.twig
@@ -0,0 +1,6 @@
1
+{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
2
+{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #}
3
+{# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #}
4
+{% if field.formattedValue != 0 %}
5
+ <span class="badge badge-danger">{{ field.formattedValue }}</span>
6
+{% endif %}
0 commit comments