diff --git a/templates/direct_messages.html b/templates/direct_messages.html new file mode 100644 index 0000000..c7e558e --- /dev/null +++ b/templates/direct_messages.html @@ -0,0 +1,20 @@ +{% extends "layout.html" %} +{% import 'utils.html' as utils %} +{% block title %}DMs - {{ config.NAME }}{% endblock %} +{% block header %} + +{% endblock %} +{% block content %} +
+
+ + {% for thread in threads %} +

With {{ ", ".join(thread.participants) }} + {{ thread.len }} message{% if thread.len > 1 %}s{% endif %} +

+ {{ utils.display_note(thread.last_reply.activity.object, meta=thread.last_reply.meta) }} + {% endfor %} + +
+
+{% endblock %}