moviewyrm/bookwyrm/templates/feed/direct_messages.html

27 lines
892 B
HTML
Raw Normal View History

2021-01-29 18:25:31 +00:00
{% extends 'feed/feed_layout.html' %}
{% block panel %}
2020-12-14 00:16:12 +00:00
2021-01-29 19:44:04 +00:00
<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>
2020-12-14 00:16:12 +00:00
2021-01-29 19:44:04 +00:00
<div class="box">
{% include 'snippets/create_status_form.html' with type="direct" uuid=1 mentions=partner %}
</div>
2020-12-14 00:16:12 +00:00
2021-01-29 19:44:04 +00:00
<section class="block">
{% if not activities %}
<p>You have no messages right now.</p>
{% endif %}
{% for activity in activities %}
<div class="block">
2021-02-23 21:34:16 +00:00
{% include 'snippets/status/status.html' with status=activity %}
2021-01-29 19:44:04 +00:00
</div>
{% endfor %}
2021-01-29 19:14:18 +00:00
2021-01-29 19:44:04 +00:00
{% include 'snippets/pagination.html' with page=activities path="direct-messages" %}
</section>
2020-12-14 00:16:12 +00:00
{% endblock %}