From c4be5dde4fb227f018d5338cb6201efab57791d2 Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Tue, 27 Jul 2021 13:07:27 +0200 Subject: [PATCH] sneed --- drama/templates/submission.html | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drama/templates/submission.html b/drama/templates/submission.html index a5b065202..0ec5ed5b8 100644 --- a/drama/templates/submission.html +++ b/drama/templates/submission.html @@ -116,12 +116,8 @@ - {% if v and v.id!=p.author_id and v.admin_level == 0 %} - {% if v.banawards > 0 %} - - {% else %} - - {% endif %} + {% if v and v.id!=p.author_id %} + {% endif %} {% if v and p.id in v.subscribed_idlist() %} @@ -224,6 +220,12 @@ {% if p.edited_utc %}  Edited {{p.edited_string}}{% endif %}   {{p.views}} views + + {% if p.awards %} + {% for a in p.awards[:5] %} + + {% endfor %} + {% endif %} {% if p.realurl(v) %} @@ -308,12 +310,8 @@
  • Votes
  • - {% if v and v.id!=p.author_id and v.admin_level == 0 %} - {% if v.banawards > 0 %} -
  • Give ban award
  • - {% else %} -
  • Give ban award
  • - {% endif %} + {% if v and v.id!=p.author_id %} +
  • Give Award
  • {% endif %}
  • Copy link