moviewyrm/bookwyrm/templates/feed/direct_messages.html

28 lines
936 B
HTML
Raw Normal View History

2021-01-29 18:25:31 +00:00
{% extends 'feed/feed_layout.html' %}
2021-02-28 02:48:10 +00:00
{% load i18n %}
2021-01-29 18:25:31 +00:00
{% 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>
2021-02-28 02:48:10 +00:00
{% if partner %}<p class="subtitle"><a href="/direct-messages"><span class="icon icon-arrow-left" aria-hidden="true"></span> {% trans "All messages" %}</a></p>{% endif %}
2021-01-29 19:44:04 +00:00
</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 %}
2021-02-28 02:48:10 +00:00
<p>{% trans "You have no messages right now." %}</p>
2021-01-29 19:44:04 +00:00
{% 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 %}