2019-10-27 13:14:13 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% import 'utils.html' as utils %}
|
|
|
|
{% block title %}DMs - {{ config.NAME }}{% endblock %}
|
|
|
|
{% block header %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div id="container">
|
|
|
|
<div id="direct_messages" style="margin-top:50px;">
|
|
|
|
|
|
|
|
{% for thread in threads %}
|
2019-11-03 10:16:52 +00:00
|
|
|
<h4><a class="lcolor" href="/admin/thread?oid={{thread.oid}}">With {{ ", ".join(thread.participants) }}</a>
|
2019-10-27 13:14:13 +00:00
|
|
|
<small class="lcolor">{{ thread.len }} message{% if thread.len > 1 %}s{% endif %}</small>
|
|
|
|
</h4>
|
|
|
|
{{ utils.display_note(thread.last_reply.activity.object, meta=thread.last_reply.meta) }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|