From 84fbcc9af51f72eee6c969f91202eeb41d01cddd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 18 Nov 2021 15:54:21 +0200 Subject: [PATCH] fsdsfd --- files/classes/user.py | 2 +- files/templates/default.html | 8 ++++---- files/templates/settings.html | 4 ++-- files/templates/settings2.html | 6 +++--- files/templates/sign_up.html | 4 ++-- files/templates/sign_up_failed_ref.html | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 412f3b804..9ccf12649 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -399,7 +399,7 @@ class User(Base): @lazy def banner_url(self): if self.bannerurl: return self.bannerurl - else: return f"http://{site}/assets/images/{site_name}/preview.webp" + else: return f"http://{site}/assets/images/{site_name}/preview.webp?v=2" @property @lazy diff --git a/files/templates/default.html b/files/templates/default.html index 56ff0eeb3..0d3c6fa78 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -80,7 +80,7 @@ - + {% block title %} @@ -89,7 +89,7 @@ - + @@ -100,7 +100,7 @@ - + {% endblock %} @@ -286,7 +286,7 @@ - + {% endif %} {% endblock %} diff --git a/files/templates/settings.html b/files/templates/settings.html index 4d4a8dbc1..1d9647e2c 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -38,7 +38,7 @@ - + @@ -49,7 +49,7 @@ - + diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 28714fef2..65d1ee973 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -11,13 +11,13 @@ - + - + @@ -28,7 +28,7 @@ - + diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 023d41c6b..3cebfba9a 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -17,7 +17,7 @@ - + @@ -28,7 +28,7 @@ - + {% if ref_user %}{{ref_user.username}} invites you to {{'SITE_NAME' | app_config}}{% else %}Sign up - {{'SITE_NAME' | app_config}}{% endif %} diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index dc1038999..08bd61575 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -12,7 +12,7 @@ - + @@ -23,7 +23,7 @@ - + {% if ref_user %}{{ref_user.username}} invites you to {{'SITE_NAME' | app_config}}{% else %}{{'SITE_NAME' | app_config}}{% endif %}