{% extends 'feed/feed_layout.html' %} {% load i18n %} {% block panel %}

{% if partner %} {% blocktrans with username=partner.display_name path=partner.local_path %}Direct Messages with {{ username }}{% endblocktrans %} {% else %} {% trans "Direct Messsages" %} {% endif %}

{% if partner %}

{% trans "All messages" %}

{% endif %}
{% include 'snippets/create_status_form.html' with type="direct" uuid=1 mentions=partner %}
{% if not activities %}

{% trans "You have no messages right now." %}

{% endif %} {% for activity in activities %}
{% include 'snippets/status/status.html' with status=activity %}
{% endfor %} {% include 'snippets/pagination.html' with page=activities path="direct-messages" %}
{% endblock %}