From 4f8261bda92f2fcc08c6858732ed35ab7b900922 Mon Sep 17 00:00:00 2001 From: Kobe Date: Wed, 28 May 2025 21:55:26 +0200 Subject: [PATCH] cache busting JS files --- templates/auth/login.html | 2 +- templates/auth/register.html | 2 +- templates/contacts/form.html | 6 +++++- templates/contacts/list.html | 6 +++++- templates/conversations/conversation.html | 6 +++--- templates/conversations/create_conversation.html | 2 +- templates/profile/profile.html | 2 +- templates/rooms/room.html | 12 ++++++------ templates/rooms/room_members.html | 2 +- templates/rooms/rooms.html | 2 +- templates/settings/settings.html | 2 +- templates/starred/starred.html | 4 ++-- templates/trash/trash.html | 4 ++-- 13 files changed, 30 insertions(+), 22 deletions(-) diff --git a/templates/auth/login.html b/templates/auth/login.html index b763b3f..32e24d9 100644 --- a/templates/auth/login.html +++ b/templates/auth/login.html @@ -9,7 +9,7 @@ - +
diff --git a/templates/auth/register.html b/templates/auth/register.html index e75dab9..d39f430 100644 --- a/templates/auth/register.html +++ b/templates/auth/register.html @@ -9,7 +9,7 @@ - +
diff --git a/templates/contacts/form.html b/templates/contacts/form.html index 6a175a9..f27a6c8 100644 --- a/templates/contacts/form.html +++ b/templates/contacts/form.html @@ -157,5 +157,9 @@
- + +{% endblock %} + +{% block extra_js %} + {% endblock %} \ No newline at end of file diff --git a/templates/contacts/list.html b/templates/contacts/list.html index 014367c..c07fbb4 100644 --- a/templates/contacts/list.html +++ b/templates/contacts/list.html @@ -43,7 +43,7 @@ - + @@ -203,4 +203,8 @@ {% endif %} +{% endblock %} + +{% block extra_js %} + {% endblock %} \ No newline at end of file diff --git a/templates/conversations/conversation.html b/templates/conversations/conversation.html index bda1f82..920ee87 100644 --- a/templates/conversations/conversation.html +++ b/templates/conversations/conversation.html @@ -200,8 +200,8 @@ window.currentUserId = "{{ current_user.id }}"; window.sendMessageUrl = "{{ url_for('conversations.send_message', conversation_id=conversation.id) }}"; - - - + + + {% endblock %} {% endblock content %} \ No newline at end of file diff --git a/templates/conversations/create_conversation.html b/templates/conversations/create_conversation.html index 739fad5..1dbd2e6 100644 --- a/templates/conversations/create_conversation.html +++ b/templates/conversations/create_conversation.html @@ -146,5 +146,5 @@ {% block extra_js %} - + {% endblock %} \ No newline at end of file diff --git a/templates/profile/profile.html b/templates/profile/profile.html index 82efae9..ccfc7d0 100644 --- a/templates/profile/profile.html +++ b/templates/profile/profile.html @@ -104,6 +104,6 @@ {% block extra_js %} - + {% endblock %} {% endblock %} \ No newline at end of file diff --git a/templates/rooms/room.html b/templates/rooms/room.html index 3fe99cf..2fb2852 100644 --- a/templates/rooms/room.html +++ b/templates/rooms/room.html @@ -285,10 +285,10 @@ // Test if modules are working console.log('Module system is working'); - - - - - - + + + + + + {% endblock %} \ No newline at end of file diff --git a/templates/rooms/room_members.html b/templates/rooms/room_members.html index b9c718c..c75a1a1 100644 --- a/templates/rooms/room_members.html +++ b/templates/rooms/room_members.html @@ -130,5 +130,5 @@ {% block extra_js %} - + {% endblock %} \ No newline at end of file diff --git a/templates/rooms/rooms.html b/templates/rooms/rooms.html index 378f0d2..a45472f 100644 --- a/templates/rooms/rooms.html +++ b/templates/rooms/rooms.html @@ -133,6 +133,6 @@ {% block extra_js %} - + {% endblock %} {% endblock %} \ No newline at end of file diff --git a/templates/settings/settings.html b/templates/settings/settings.html index 9d0a0c3..d75f4b9 100644 --- a/templates/settings/settings.html +++ b/templates/settings/settings.html @@ -80,5 +80,5 @@ {% endblock %} {% block extra_js %} - + {% endblock %} \ No newline at end of file diff --git a/templates/starred/starred.html b/templates/starred/starred.html index 01f1782..ee55f1e 100644 --- a/templates/starred/starred.html +++ b/templates/starred/starred.html @@ -41,6 +41,6 @@ {% endblock %} {% block extra_js %} - - + + {% endblock %} \ No newline at end of file diff --git a/templates/trash/trash.html b/templates/trash/trash.html index e69c105..dd14264 100644 --- a/templates/trash/trash.html +++ b/templates/trash/trash.html @@ -47,6 +47,6 @@ {% endblock %} {% block extra_js %} - - + + {% endblock %} \ No newline at end of file