~tsileo/microblog.pub

ref: b1832bcec045520cdc1e4755b5e31af27d8b5096 microblog.pub/templates/direct_messages.html -rw-r--r-- 621 bytes View raw
b1832bceThomas Sileo Fix/improve redirection in the UI 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% 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 %}
    <h4><a href="/admin/thread?oid={{thread.oid}}">With {{ ", ".join(thread.participants) }}</a>
        <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 %}