forked from mirrors/bookwyrm
26 lines
892 B
HTML
26 lines
892 B
HTML
{% extends 'feed/feed_layout.html' %}
|
|
{% block panel %}
|
|
|
|
<header class="block">
|
|
<h1 class="title">Direct Messages{% if partner %} with {% include 'snippets/username.html' with user=partner %}{% endif %}</h1>
|
|
{% if partner %}<p class="subtitle"><a href="/direct-messages"><span class="icon icon-arrow-left" aria-hidden="true"></span> All messages</a></p>{% endif %}
|
|
</header>
|
|
|
|
<div class="box">
|
|
{% include 'snippets/create_status_form.html' with type="direct" uuid=1 mentions=partner %}
|
|
</div>
|
|
|
|
<section class="block">
|
|
{% if not activities %}
|
|
<p>You have no messages right now.</p>
|
|
{% endif %}
|
|
{% for activity in activities %}
|
|
<div class="block">
|
|
{% include 'snippets/status/status.html' with status=activity %}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% include 'snippets/pagination.html' with page=activities path="direct-messages" %}
|
|
</section>
|
|
|
|
{% endblock %}
|