From a714ae06a304080ccf9cdee3b06ab75643565fbf Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 12 Feb 2022 21:01:09 +0200 Subject: [PATCH] xc --- files/routes/front.py | 4 ++-- files/templates/emoji_modal.html | 4 ++-- files/templates/header.html | 4 ++-- files/templates/sidebar_ruqqus.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index bf988f6b14..1668260d2e 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -270,7 +270,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false" if sub: posts = posts.filter_by(sub=sub.name) elif SITE_NAME == '2Much4You': posts = posts.filter(Submission.sub.in_(toomuch_subs)) - elif SITE_NAME == 'ruqqus': posts = posts.filter(Submission.sub != None) + elif SITE_NAME == 'Ruqqus': posts = posts.filter(Submission.sub != None) else: posts = posts.filter_by(sub=None) if gt: posts = posts.filter(Submission.created_utc > gt) @@ -346,7 +346,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false" pins = g.db.query(Submission).filter(Submission.stickied != None, Submission.is_banned == False) if sub: pins = pins.filter_by(sub=sub.name) elif SITE_NAME == '2Much4You': pins = pins.filter(Submission.sub.in_(toomuch_subs)) - elif SITE_NAME == 'ruqqus': pins = pins.filter(Submission.sub != None) + elif SITE_NAME == 'Ruqqus': pins = pins.filter(Submission.sub != None) else: pins = pins.filter_by(sub=None) if v and v.admin_level == 0: diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index dbea2f1a27..6eb19d1b9d 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -9,7 +9,7 @@ Favorite - {% if SITE_NAME == 'ruqqus' %} + {% if SITE_NAME == 'Ruqqus' %} @@ -63,7 +63,7 @@
- {% if SITE_NAME == 'ruqqus' %} + {% if SITE_NAME == 'Ruqqus' %}
diff --git a/files/templates/header.html b/files/templates/header.html index 477377e93a..80bbb1ef8b 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -160,7 +160,7 @@ {% if request.host != 'pcmemes.net' %} Discord {% endif %} - {% if not (g.webview and v.truecoins < 1) and SITE_NAME not in ('2Much4You','ruqqus') %} + {% if not (g.webview and v.truecoins < 1) and SITE_NAME not in ('2Much4You','Ruqqus') %} Donate {% endif %} {% if SITE_NAME == 'Drama' %}Archives{% endif %} @@ -215,7 +215,7 @@ {% if request.host != 'pcmemes.net' %} Discord {% endif %} - {% if not (g.webview and v.truecoins < 1) and SITE_NAME not in ('2Much4You','ruqqus') %} + {% if not (g.webview and v.truecoins < 1) and SITE_NAME not in ('2Much4You','Ruqqus') %} Donate {% endif %} {% if SITE_NAME == 'Drama' %}Archives{% endif %} diff --git a/files/templates/sidebar_ruqqus.html b/files/templates/sidebar_ruqqus.html index 35f8d848ef..5c996a1c11 100644 --- a/files/templates/sidebar_ruqqus.html +++ b/files/templates/sidebar_ruqqus.html @@ -2,7 +2,7 @@ {% if sub %} {% set image=sub.sidebar_url %} {% else %} - {% set image='/static/assets/images/ruqqus/sidebar.webp?a=1039' %} + {% set image='/static/assets/images/Ruqqus/sidebar.webp?a=1039' %} {% endif %} sidebar image