summaryrefslogtreecommitdiff
path: root/templates/mod/recent_posts.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mod/recent_posts.html')
-rw-r--r--templates/mod/recent_posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html
index e5a95ece..349dcea9 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 %}
+<script src="{{ config.additional_javascript_url }}js/mod/recent-posts.js"></script>
+{% if not posts|count %}
<p style="text-align:center" class="unimportant">({% trans 'There are no active posts.' %})</p>
{% else %}
<h4>Viewing last {{ limit|e }} posts</h4>