|
- {% import "@LcSov/adminlte/macro/badge.html.twig" as macro %}
-
- {% set status = entity.instance.status %}
- {% if status == 'open' %}
- {{ macro.badge_success(('entity.Ticket.status.'~entity.instance.status)|trans({},'admin')) }}
- {% elseif status == 'being-processed' %}
- {{ macro.badge_warning(('entity.Ticket.status.'~entity.instance.status)|trans({},'admin')) }}
- {% elseif status == 'closed' %}
- {{ macro.badge_danger(('entity.Ticket.status.'~entity.instance.status)|trans({},'admin')) }}
- {% endif %}
|