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/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 614c1020..63f4de5c 100644 --- a/templates/mod/inbox.html +++ b/templates/mod/inbox.html @@ -1,4 +1,4 @@ -{% if messages|default([])|length == 0 %} +{% if not messages %}

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

{% else %} -- cgit v1.3