~tsileo/microblog.pub

ref: 9c12a6731104d01b9e9813d269a69696e342893f microblog.pub/templates/direct_messages.html -rw-r--r-- 636 bytes View raw
9c12a673Thomas Sileo Tweak CSS for DMs admin section 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 class="lcolor" 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 %}