From c3a6a646dbf509c729c7e38598a0423f1edf7146 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 6 Sep 2021 00:07:18 +0200 Subject: [PATCH] fd --- files/templates/comments.html | 8 ++++---- files/templates/submission.html | 24 +++++++++++++----------- files/templates/submission_listing.html | 20 ++++++++++++-------- 3 files changed, 29 insertions(+), 23 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index b0d16721f..aec2524ac 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -254,11 +254,11 @@
  • {% endif %} - {% elif v %} + {% elif v and "gigachadlife" not in request.host and "marsey.tech" not in request.host %}
  • - {% else %} + {% elif "gigachadlife" not in request.host and "marsey.tech" not in request.host %}
  • @@ -354,9 +354,9 @@ {% if voted==-1 %}
  • {% endif %} - {% elif v %} + {% elif v and "gigachadlife" not in request.host and "marsey.tech" not in request.host %}
  • - {% else %} + {% elif "gigachadlife" not in request.host and "marsey.tech" not in request.host %}
  • {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index 1db0dcaad..cb356fc90 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -473,8 +473,10 @@
    {{score}} - -
    + + {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} +
    + {% endif %} {% else %} @@ -483,8 +485,9 @@
    {{score}} -
    -
    + {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} +
    + {% endif %} {% endif %} @@ -535,13 +538,12 @@ {{score}} - {% if v %} - - - {% else %} - - - + {% 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 %} + + + {% endif %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 03074f41a..d838ff855 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -36,7 +36,7 @@ {{score}} {% if voted==-1 %} -
    +
    {% endif %} {% elif v %} @@ -45,7 +45,9 @@ {{score}} -
    + {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} +
    + {% endif %} {% else %} @@ -53,8 +55,9 @@ {{score}} -
    - + {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} +
    + {% endif %} {% endif %} @@ -259,8 +262,7 @@ {{score}} {% if voted==-1 %} - - + {% endif %} @@ -273,8 +275,10 @@ {{score}} - - + {% if "gigachadlife" not in request.host and "marsey.tech" not in request.host %} + + + {% endif %} {% else %}