mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
HTML
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
|
{% extends 'themes/' + theme() + '/base.html' %}
|
|
{% else %}
|
|
{% extends "base.html" %}
|
|
{% endif %} %}
|
|
{% from 'bootstrap/form.html' import render_form %}
|
|
{% set active_child = 'admin_content_spam' %}
|
|
|
|
{% block app_content %}
|
|
<div class="row">
|
|
<div class="col">
|
|
<h1>{{ _('Most downvoted posts in the last 3 days') }}</h1>
|
|
<div class="post_list">
|
|
{% for post in posts.items %}
|
|
{% include 'post/_post_teaser.html' %}
|
|
{% endfor %}
|
|
</div>
|
|
{% if post_replies %}
|
|
<h2 class="mt-4" id="comments">Downvoted comments</h2>
|
|
<div class="post_list">
|
|
{% for post_reply in post_replies.items %}
|
|
{% with teaser=True, disable_voting=True, no_collapse=True, show_deleted=True %}
|
|
{% include 'post/_post_reply_teaser.html' %}
|
|
{% endwith %}
|
|
<hr />
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<p>{{ _('No comments yet.') }}</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
<div class="row">
|
|
<div class="col">
|
|
{% include 'admin/_nav.html' %}
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
{% endblock %}
|