From 6ff9f4bc3a94ffbd19582465f0942edacb7d3c17 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 2 Oct 2021 14:51:07 +0200 Subject: [PATCH] fdssdf --- files/routes/posts.py | 2 +- files/templates/admin/alt_votes.html | 4 ++-- files/templates/login.html | 2 +- files/templates/search.html | 4 ++-- files/templates/settings_filters.html | 8 ++++---- files/templates/settings_profile.html | 2 +- files/templates/sign_up.html | 2 +- files/templates/submission_banned.html | 2 +- files/templates/userpage.html | 4 ++-- files/templates/votes.html | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index ae38d62b48..10dc4fde20 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -400,7 +400,7 @@ def thumbnail_thread(pid): parsed_url = urlparse(post_url) return f"https://{parsed_url.netloc}{fragment_url}" else: - return f"{post_url}{'/' if not post_url.endswith('/') else ''}{fragment_url}" + return f"{post_url}{'/' if not post_url.endswith('/')}{fragment_url}" db = db_session() diff --git a/files/templates/admin/alt_votes.html b/files/templates/admin/alt_votes.html index 04de672ca5..7d819d84e2 100644 --- a/files/templates/admin/alt_votes.html +++ b/files/templates/admin/alt_votes.html @@ -15,8 +15,8 @@
- - + +
diff --git a/files/templates/login.html b/files/templates/login.html index c1dc6cd5ff..e086dde0c9 100644 --- a/files/templates/login.html +++ b/files/templates/login.html @@ -85,7 +85,7 @@
- Don't have an account? + Don't have an account?
diff --git a/files/templates/search.html b/files/templates/search.html index dcce70d68f..5e87986e1f 100644 --- a/files/templates/search.html +++ b/files/templates/search.html @@ -3,7 +3,7 @@ {% block pagetype %}search{% endblock %} {% block title %} -Search for "{{query}}" - {{'SITE_NAME' | app_config}}" +Search for "{{query}}" - {{'SITE_NAME' | app_config}}" {% endblock %} {% block PseudoSubmitForm %}{% endblock %} @@ -71,7 +71,7 @@
Advanced search parameters (with examples): "author:quadnarca", "domain:reddit.com", "over18:true"

-
Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1 else ''}} for
+
Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1}} for

{{query}}

diff --git a/files/templates/settings_filters.html b/files/templates/settings_filters.html index 88d58490fa..e14d235350 100644 --- a/files/templates/settings_filters.html +++ b/files/templates/settings_filters.html @@ -24,7 +24,7 @@
@@ -49,7 +49,7 @@
@@ -68,7 +68,7 @@
@@ -87,7 +87,7 @@
diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index a7ba808004..0f7752e1c8 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -281,7 +281,7 @@ - + {{v.referral_count}} diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index d24db39dfb..a7edb1d599 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -134,7 +134,7 @@
- Already have an account? + Already have an account?
diff --git a/files/templates/submission_banned.html b/files/templates/submission_banned.html index 509e39aa94..b0cf807e55 100644 --- a/files/templates/submission_banned.html +++ b/files/templates/submission_banned.html @@ -90,7 +90,7 @@
diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 6054d53583..c3f13d9331 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -133,7 +133,7 @@ {{u.coins}}     - {% if u.stored_subscriber_count >=1 and not u.is_nofollow %}{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}   {% endif %} + {% if u.stored_subscriber_count >=1 and not u.is_nofollow %}{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1}}   {% endif %} joined {{u.created_date}}
{% if "pcm" in request.host %}

Based Count: {{u.basedcount}}

{% endif %} @@ -389,7 +389,7 @@ {{u.coins}}     - {% if u.stored_subscriber_count >=1 and not u.is_nofollow %}{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1 else ''}}   {% endif %} + {% if u.stored_subscriber_count >=1 and not u.is_nofollow %}{{u.stored_subscriber_count}} follower{{'s' if u.stored_subscriber_count != 1}}   {% endif %} {% if "pcm" in request.host %}
Based count: {{u.basedcount}} {% endif %} diff --git a/files/templates/votes.html b/files/templates/votes.html index b5652ba08e..8906b97fb4 100644 --- a/files/templates/votes.html +++ b/files/templates/votes.html @@ -10,7 +10,7 @@
- +