From 99b74207d767bd7ce0d4aa1e93788da27d0698f6 Mon Sep 17 00:00:00 2001 From: Appleman1234 Date: Tue, 6 Jul 2021 19:44:38 +1000 Subject: Fixes for counting Uncountable error in mod templates by using twig count explicitly --- templates/mod/inbox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/mod/inbox.html') diff --git a/templates/mod/inbox.html b/templates/mod/inbox.html index 63f4de5c..97afe446 100644 --- a/templates/mod/inbox.html +++ b/templates/mod/inbox.html @@ -1,4 +1,4 @@ -{% if not messages %} +{% if messages|count == 0 %}

({% trans 'No private messages for you.' %})

{% else %} -- cgit v1.3