src/Sylius/Bundle/AdminBundle/Resources/views/Pay/Grid/Field/state.html.twig line 1

Open in your IDE?
  1. {% if data %}
  2.     <a class="ui form-value-fix-style {{ data == 'STATE_NEW' ? 'red' : data == 'STATE_COMPLETED' ? 'teal': data == 'STATE_INCOMPLETE' ? 'orange' : data == 'STATE_CANCELLED' ? 'black' : data == 'STATE_BONUS' ? 'pink' : data == 'STATE_OVERPAYMENT' ? 'purple' : 'white' }} tag label">{{ (    'sylius.form.payment.state.'~data)|trans }}</a>
  3. {% endif %}