diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2022-09-25 13:22:40 +1000 |
|---|---|---|
| committer | Appleman1234 <applemansigloo@gmail.com> | 2022-09-25 13:22:40 +1000 |
| commit | 92561d7f36508b7e0271926e417adf0e2e53916b (patch) | |
| tree | a8588b4f70af276c5acf58836e33b1f6ff5c61e8 /templates/mod/recent_posts.html | |
| parent | 6f1083e4b51fc9c4c594f6c72cf3d84ef4d0298b (diff) | |
Initial attempt a switch to composer and PHP-8.1 compatibility
Diffstat (limited to 'templates/mod/recent_posts.html')
| -rw-r--r-- | templates/mod/recent_posts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html index 349dcea9..c226eebd 100644 --- a/templates/mod/recent_posts.html +++ b/templates/mod/recent_posts.html @@ -1,5 +1,5 @@ <script src="{{ config.additional_javascript_url }}js/mod/recent-posts.js"></script> -{% if not posts|count %} +{% if not posts|length %} <p style="text-align:center" class="unimportant">({% trans 'There are no active posts.' %})</p> {% else %} <h4>Viewing last {{ limit|e }} posts</h4> |
