From fa9cb897e853ea87590eae4ef3d5592b0d9a4841 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 11 Dec 2021 20:08:03 +0200 Subject: [PATCH] fsdfds --- files/routes/posts.py | 2 +- files/templates/admin/apps.html | 2 +- files/templates/comments.html | 6 +++--- files/templates/contact.html | 4 ++-- files/templates/settings_filters.html | 6 +++--- files/templates/sign_up.html | 2 +- files/templates/submission.html | 4 ++-- files/templates/submission_listing.html | 6 +++--- files/templates/submit.html | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 0a2c61337..b3ff39d04 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -697,7 +697,7 @@ def thumbnail_thread(pid): for chunk in image_req.iter_content(1024): file.write(chunk) - post.thumburl = "https://" + site + process_image(name, True) + post.thumburl = f"https://{site}/" + process_image(name, True) db.add(post) db.commit() db.close() diff --git a/files/templates/admin/apps.html b/files/templates/admin/apps.html index 07e3e4d87..bf9cd895f 100644 --- a/files/templates/admin/apps.html +++ b/files/templates/admin/apps.html @@ -14,7 +14,7 @@
diff --git a/files/templates/comments.html b/files/templates/comments.html index 6c799a80d..230db87a7 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -57,7 +57,7 @@ coins      - + View @@ -295,7 +295,7 @@ Cancel
- +
{% endif %}
@@ -463,7 +463,7 @@ Cancel
- +
diff --git a/files/templates/contact.html b/files/templates/contact.html index deb999b8d..81884571f 100644 --- a/files/templates/contact.html +++ b/files/templates/contact.html @@ -50,11 +50,11 @@ {% elif v %} -

Please verify your email address in order to ensure we can respond to your message if needed. Then, refresh this page.

+

Please verify your email address in order to ensure we can respond to your message if needed. Then, refresh this page.

{% else %} -

In order to ensure that we can respond to your message, please first sign up or log in and make sure you have verified your email address. Then, refresh this page.

+

In order to ensure that we can respond to your message, please first sign up or log in and make sure you have verified your email address. Then, refresh this page.

{% endif %} diff --git a/files/templates/settings_filters.html b/files/templates/settings_filters.html index 59d0ec75c..b34428808 100644 --- a/files/templates/settings_filters.html +++ b/files/templates/settings_filters.html @@ -105,7 +105,7 @@
- +
@@ -115,7 +115,7 @@
- Enable if you would like to automatically open threads in new tabs. + Enable if you would like to automatically open links to other pages in the site in new tabs.
@@ -135,7 +135,7 @@
- Enable if you would like to automatically open external links in new tabs. + Enable if you would like to automatically open links to other sites in new tabs. diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 2417c8d89..c4687f4fc 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -111,7 +111,7 @@
+ href="/rules" {% if v and v.newtab %}target="_blank"{% endif %}>terms and conditions
{% if hcaptcha %} diff --git a/files/templates/submission.html b/files/templates/submission.html index f5536d156..6b1b34b64 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -470,7 +470,7 @@ Cancel
-
Formatting help
+
Formatting help
{% endif %} @@ -734,7 +734,7 @@ Comment
-
Formatting help
+
Formatting help
{% if not v and not p.is_banned %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index cb52dadc9..d818414ce 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -45,7 +45,7 @@ coins      - + View @@ -185,7 +185,7 @@ {{p.author.username}}{% if p.author.customtitle %}  {% if p.author.quadrant %}{% endif %}{{p.author.customtitle | safe}}{% endif %}  {{p.age_string}}   - ({% if p.realurl(v) %}{{p.domain}}{% else %}text post{% endif %}) + ({% if p.realurl(v) %}{{p.domain}}{% else %}text post{% endif %}) {% if p.edited_utc %}   Edited {{p.edited_string}} {% endif %} @@ -474,7 +474,7 @@ {% if p.is_image and not p.over_18 and ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %}
- + Unable to load image
diff --git a/files/templates/submit.html b/files/templates/submit.html index 38d6a81ba..eb4b8ea14 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -126,7 +126,7 @@

-												
Formatting help
+
Formatting help