diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2021-07-06 19:44:38 +1000 |
|---|---|---|
| committer | Appleman1234 <applemansigloo@gmail.com> | 2021-07-06 19:44:38 +1000 |
| commit | 99b74207d767bd7ce0d4aa1e93788da27d0698f6 (patch) | |
| tree | dbc4dd1c118a4e89e257a04a45b5b591b54528c6 /templates/mod/themes.html | |
| parent | bae0a912c7b5aee2eb43bf1a138f40d60fdb2d0e (diff) | |
Fixes for counting Uncountable error in mod templates by using twig count explicitly
Diffstat (limited to 'templates/mod/themes.html')
| -rw-r--r-- | templates/mod/themes.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} <p style="text-align:center" class="unimportant">({% trans 'There are no themes available.' %})</p> {% else %} <table class="modlog"> |
