From efa78b6da17ab9f330753152162388841e576e09 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 6 Sep 2021 18:46:56 +0200 Subject: [PATCH] fd --- files/templates/comments.html | 18 +++++++++--------- files/templates/submission.html | 16 ++++++---------- files/templates/submission_listing.html | 14 ++++++-------- 3 files changed, 21 insertions(+), 27 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index aec2524ac..536f3656b 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -254,13 +254,13 @@
  • {% endif %} - {% elif v and "gigachadlife" not in request.host and "marsey.tech" not in request.host %} -
  • + {% elif v %} +
  • - {% elif "gigachadlife" not in request.host and "marsey.tech" not in request.host %} - -
  • + {% else %} + +
  • {% endif %} @@ -354,10 +354,10 @@ {% if voted==-1 %}
  • {% endif %} - {% elif v and "gigachadlife" not in request.host and "marsey.tech" not in request.host %} -
  • - {% elif "gigachadlife" not in request.host and "marsey.tech" not in request.host %} -
  • + {% elif v %} +
  • + {% else %} +
  • {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index cb356fc90..bba1bd4c7 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -474,9 +474,7 @@ {{score}} - {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} -
    - {% endif %} +
    {% else %} @@ -485,9 +483,7 @@
    {{score}} - {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} -
    - {% endif %} +
    {% endif %} @@ -538,10 +534,10 @@ {{score}} - {% if v and "gigachadlife" not in request.host and "marsey.tech" not in request.host %} - - {% elif "gigachadlife" not in request.host and "marsey.tech" not in request.host %} - + {% if v %} + + {% else %} + {% endif %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index fbbeda540..6fb463629 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -45,8 +45,8 @@ {{score}} - {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} -
    + {% else %} +
    {% endif %} {% else %} @@ -55,8 +55,8 @@ {{score}} - {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} -
    + {% else %} +
    {% endif %} {% endif %} @@ -261,10 +261,8 @@ {{score}} - {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} - - - {% endif %} + + {% else %}