@@ -404,7 +404,7 @@ field: | |||
statusOptions: | |||
open: Ouvert | |||
being-processed: En cours de traitement | |||
closed: Fermée | |||
closed: Fermé | |||
yourAnswer: Votre réponse | |||
closeTicket: Fermer la demande | |||
Document: |
@@ -0,0 +1,14 @@ | |||
{% if value == 'open' %} | |||
{% set class_badge = 'badge-success' %} | |||
{% elseif value == 'being-processed' %} | |||
{% set class_badge = 'badge-warning' %} | |||
{% elseif value == 'closed' %} | |||
{% set class_badge = 'badge-secondary' %} | |||
{% endif %} | |||
{% if class_badge is defined %} | |||
<span class="badge {{ class_badge }}"> | |||
{% set trans_value = 'field.Ticket.statusOptions.'~value %} | |||
{{ trans_value|trans({}, 'lcshop') }} | |||
</span> | |||
{% endif %} |
@@ -0,0 +1,2 @@ | |||
{% set trans_value = 'field.Ticket.typeOptions.'~value %} | |||
{{ trans_value|trans({}, 'lcshop') }} |