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.

пре 3 година
пре 3 година
пре 3 година
12345678
  1. {% if value is not defined %}
  2. {% set value = field.value %}
  3. {% endif %}
  4. {% if value == 1 %}
  5. <div class="badge badge-success">En ligne</div>
  6. {% else %}
  7. <div class="badge badge-danger">Hors ligne</div>
  8. {% endif %}