~linuxgoose/bocpress

ref: 42cec5dc9648d56bb8bee0a6e09738f558701e1f bocpress/main/templates/main/moderation_cohorts.html -rw-r--r-- 925 bytes
42cec5dcJordan Robinson fix use blog_user on public template 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends 'main/layout.html' %}

{% block title %}Moderation Cohorts{% endblock %}

{% block content %}
<main>
    <h1>Moderation Cohorts</h1>
</main>

<section class="moderation-content" style="max-width: 540px;">
    <div>
        <strong>Most published posts (last 30d)</strong>
        <ul>
            {% for r in leaders.most_published_30 %}
            <li><a href="//{{ r.username }}.{{ CANONICAL_HOST }}/" target="_blank" rel="noopener">{{ r.username }}</a>: {{ r.cnt }}</li>
            {% endfor %}
        </ul>
    </div>
    <div>
        <strong>Largest blogs by total post body bytes</strong>
        <ul>
            {% for r in leaders.largest_blogs_by_bytes %}
            <li><a href="//{{ r.username }}.{{ CANONICAL_HOST }}/" target="_blank" rel="noopener">{{ r.username }}</a>: {{ r.total_bytes|filesizeformat }}</li>
            {% endfor %}
        </ul>
    </div>
</section>
{% endblock content %}