{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} %} {% from 'bootstrap/form.html' import render_form %} {% block app_content %}

{{ _('Chat') }}

{{ _('People') }}

{% if other_party %}

{{ _('Messages with %(name)s', name=other_party.display_name()) }}

{{ _('Messages with: ') }}

{% for message in messages %}
{{ moment(message.created_at).fromNow(refresh=True) }} {{ message.sender.display_name() }}: {{ message.body_html|safe }}
{% endfor %} {{ render_form(form) }} {{ _('Options') }}
{% endif %}
{% endblock %}