diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index ba66e4925d..c8baa3fa50 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -49,35 +49,32 @@
+
+ {% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %} +
- {% if not postembed %} -
- {% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %} -
+ {{score}} - {{score}} +
+ {% elif v %} -
- {% elif v %} +
-
+ {{score}} - {{score}} +
-
+ {% else %} - {% else %} +
-
+ {{score}} - {{score}} +
-
+ {% endif %} - {% endif %} - -
- {% endif %} +
@@ -248,39 +245,37 @@ {% endif %} - {% if not postembed %} - {% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %} -
  • + {% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %} +
  • - + - {{score}} + {{score}} - -
  • - {% elif v %} -
  • + +
  • + {% elif v %} +
  • - + - {{score}} + {{score}} - + -
  • - {% else %} -
  • - - - +
  • + {% else %} +
  • + + + - {{score}} + {{score}} - - - -
  • - {% endif %} + + + + {% endif %}