6 lines
154B

  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 %}