{% if ticket is defined %} {% if env is defined and env == 'BE' %}

Discussion pour le ticket {{ticket.alias}}

{% else %}

Chat

{% endif %}
{% if env is defined and env == 'BE' %} {% else %} {% endif %}
{% if messages is defined %} {% for msg in messages %}
{% if msg.current == true %} Moi, {{msg.tstamp|date('d/m/Y H:i')}} {% else %} {{msg.exp}}, {{msg.tstamp|date('d/m/Y H:i')}} {% endif %}

{{msg.message}}

{% endfor %} {% endif %}
{% endif %}