From 60a5e328270d276d570c3940e48661653429e661 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 27 Jul 2021 02:14:53 +0200 Subject: [PATCH] dffd --- drama/templates/comments.html | 2 +- drama/templates/submission.html | 2 +- drama/templates/submission_listing.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drama/templates/comments.html b/drama/templates/comments.html index 08bd1f855..6f297da21 100644 --- a/drama/templates/comments.html +++ b/drama/templates/comments.html @@ -114,7 +114,7 @@
{% if c.banaward %}  {% endif %} - {% if c.flags %} {{len(c.flags)}} Reports {% endif %} + {% if c.flags %} {{c.flags.count()}} Reports {% endif %} {% if c.over_18 %}+18 {% endif %} {% if v and v.admin_level==6 and c.author.shadowbanned %} {% endif %} {% if c.is_pinned %} {% endif %} diff --git a/drama/templates/submission.html b/drama/templates/submission.html index 42e18dede..38409cbdf 100644 --- a/drama/templates/submission.html +++ b/drama/templates/submission.html @@ -216,7 +216,7 @@ {% if p.over_18 %}+18{% endif %} {% if p.private %}unlisted{% endif %} {% if p.repost_id %}repost{% endif %} - {% if p.flags %}{{len(p.flags)}} Reports{% endif %} + {% if p.flags %}{{p.flags.count()}} Reports{% endif %}    {{p.author.username}}{% if p.author.customtitle %}  {{p.author.customtitle | safe}}{% endif %}  {{p.age_string}} ({% if p.realurl(v) %}{{p.domain}}{% else %}text post{% endif %}) diff --git a/drama/templates/submission_listing.html b/drama/templates/submission_listing.html index 2ec3bedfc..ef63fdf59 100644 --- a/drama/templates/submission_listing.html +++ b/drama/templates/submission_listing.html @@ -136,7 +136,7 @@ {% if p.is_blocked %}{% endif %} {% if p.private %}unlisted{% endif %} {% if p.repost_id %} repost{% endif %} - {% if p.flags %}{{len(p.flags)}} Reports{% endif %} + {% if p.flags %}{{p.flags.count()}} Reports{% endif %}  {{p.author.username}}{% if p.author.customtitle %}  {{p.author.customtitle | safe}}{% endif %}  {{p.age_string}}