From 8dfdc5e33514443e463b1accc1053dc986def4d4 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Sat, 10 Aug 2019 12:01:07 +1000 Subject: Based on #157 and #158, revert back to existence checks and length rather than default empty array initialization for ease of reading --- 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 99aaadf5..87639dbc 100644 --- a/templates/mod/themes.html +++ b/templates/mod/themes.html @@ -1,4 +1,4 @@ -{% if themes|default([])|length == 0 %} +{% if not themes %}

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

{% else %} -- cgit v1.3