From 77805800977e5a073e3630d01f3ae1e63f09ee75 Mon Sep 17 00:00:00 2001 From: Hendrik L Date: Sat, 28 Dec 2024 11:34:20 +0100 Subject: [PATCH] don't allow voting here --- app/templates/admin/content.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/admin/content.html b/app/templates/admin/content.html index a7e41db7..97205579 100644 --- a/app/templates/admin/content.html +++ b/app/templates/admin/content.html @@ -37,7 +37,9 @@ {% if post_replies %}

Posts

{% endif %}
{% for post in posts.items %} - {% include 'post/_post_teaser.html' %} + {% with disable_voting=True %} + {% include 'post/_post_teaser.html' %} + {% endwith %} {% else %}

{{ _('No posts.') }}

{% endfor %}