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/themes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/mod/themes.html') diff --git a/templates/mod/themes.html b/templates/mod/themes.html index 87639dbc..b230bc48 100644 --- a/templates/mod/themes.html +++ b/templates/mod/themes.html @@ -1,4 +1,4 @@ -{% if not themes %} +{% if themes|count == 0 %}

({% trans 'There are no themes available.' %})

{% else %} -- cgit v1.3