diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2019-08-10 12:01:07 +1000 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2019-08-10 12:01:07 +1000 |
| commit | 8dfdc5e33514443e463b1accc1053dc986def4d4 (patch) | |
| tree | 46860a907e32a7a3c10122ba3e8692fee055e5f0 /templates/mod/inbox.html | |
| parent | c8d609ecf15eee27ad393f6d711ead87b99a04c7 (diff) | |
Based on #157 and #158, revert back to existence checks and length rather than default empty array initialization for ease of reading
Diffstat (limited to 'templates/mod/inbox.html')
| -rw-r--r-- | templates/mod/inbox.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} <p style="text-align:center" class="unimportant">({% trans 'No private messages for you.' %})</p> {% else %} <table class="modlog"> |
