You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

status.html.twig 153B

12345
  1. {% if field.value == 1 %}
  2. <div class="badge badge-success">En ligne</div>
  3. {% else %}
  4. <div class="badge badge-danger">Hors ligne</div>
  5. {% endif %}