{% if not embedded %}{% extends 'base/base.html' %}{% endif %} {% block title %}{{ target_jid }} - {{ super() }}{% endblock %} {% block body %} {{ icon_defs("lock-open", "lock-filled", "ok", "pencil", "dot-3", "share", "attach", "paper-plane-empty", "doc", "download") }} {# TODO: this should be done in a more generic way in dialog module #}
{% for msg in messages %} {% include 'chat/message.html' %} {% endfor %}
{% for file in attachments %} {% include 'chat/attachment_preview.html' %} {% endfor %}

{% endblock body %} {% block footer %}{% endblock footer %}