{% import "components.html" as c with context %} {% set url = c.messages_url(history.agent, history.contact) %} {# the end of what is loaded: it asks whether anything came after it, and only then for what did, which is put here with a new end after it; a computer gone offline is said here, until it is back. a column with no message to read after - empty, or one that got none - asks the same way, and is read afresh as a whole when something is new #} {% if history.last %}
{% if history.answer == "offline" %}{{ c.empty(t.text("contacts.offline")) }}{% endif %}
{% else %}
{% endif %}