From cbb76fff0c1026b0dd23fdbd8eb9a0d8132394fa Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 9 May 2022 04:15:15 +0200 Subject: [PATCH] dgf --- files/templates/submission_listing.html | 61 ++++++++++--------------- 1 file changed, 24 insertions(+), 37 deletions(-) diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 38e5c8ab0..0dcaae655 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -82,31 +82,27 @@
{% if v and request.path.startswith('/@') and v.admin_level < 2 %} - {% if voted==1 %} -
- {% endif %} +
{{score}} - {% if voted==-1 %} -
- {% endif %} +
{% elif v %} -
+
- {{score}} + {{score}} -
+
{% else %} -
+
- {{score}} + {{score}} -
+
{% endif %} @@ -259,43 +255,34 @@ {% if v and request.path.startswith('/@') and v.admin_level < 2 %}
  • - {% if voted==1 %} - - - {% endif %} + {{score}} - {% if voted==-1 %} - - {% endif %} - - +
  • {% elif v %} -
  • +
  • - - + - {{score}} + {{score}} - - + -
  • + {% else %} -
  • - - - +
  • + + + - {{score}} + {{score}} - - - -
  • + + + + {% endif %} {% endif %}