From 9fbc816205af457773b0f42ea18f6fb9605885be Mon Sep 17 00:00:00 2001 From: Zankaria Date: Thu, 22 Aug 2024 00:09:28 +0200 Subject: [PATCH] templates: bust all js caches with resource_version --- templates/header.html | 2 +- templates/mod/ban_list.html | 12 ++++++------ templates/mod/pages.html | 4 ++-- templates/mod/recent_posts.html | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/header.html b/templates/header.html index b2c0f054..b928ff4a 100644 --- a/templates/header.html +++ b/templates/header.html @@ -17,7 +17,7 @@ {% for javascript in config.additional_javascript %}{% endfor %} {% endif %} {% if mod %} - + {% endif %} {% endif %} {% if config.captcha.provider == 'recaptcha' %} diff --git a/templates/mod/ban_list.html b/templates/mod/ban_list.html index f039350b..4a4586f7 100644 --- a/templates/mod/ban_list.html +++ b/templates/mod/ban_list.html @@ -1,9 +1,9 @@ - - - - - + + + + + @@ -32,7 +32,7 @@ - + {% if token_json %} diff --git a/templates/mod/pages.html b/templates/mod/pages.html index c2395c02..f6be9487 100644 --- a/templates/mod/pages.html +++ b/templates/mod/pages.html @@ -1,4 +1,4 @@ - +

{% if board %} @@ -27,7 +27,7 @@ -
{% trans %}URL{% endtrans %}{% trans %}Title{% endtrans %}
+ diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html index d5e5d83c..55f854b5 100644 --- a/templates/mod/recent_posts.html +++ b/templates/mod/recent_posts.html @@ -1,4 +1,4 @@ - + {% if not posts|length %}

({% trans 'There are no active posts.' %})

{% else %}