diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index 9e3c2c8d9..2b5e29702 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -44,4 +44,6 @@ +{% if FEATURES['AWARDS'] %} +{% endif %} diff --git a/files/templates/comments.html b/files/templates/comments.html index f1e14fd97..9ed7675c3 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -187,9 +187,11 @@ {% if c.author.customtitle %}  {{c.author.customtitle | safe}}{% endif %} {% endif %} - {% for a in c.awards|reverse %} - - {% endfor %} + {% if FEATURES['AWARDS'] %} + {% for a in c.awards|reverse %} + + {% endfor %} + {% endif %} {% if c.post %} {% set sub = c.post.sub %} @@ -814,7 +816,9 @@ - + {% if FEATURES['AWARDS'] %} + + {% endif %} {% endif %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index ff64f9e5d..a0a47fdab 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -170,9 +170,11 @@ {% endif %} - {% for a in p.awards|reverse %} - - {% endfor %} + {% if FEATURES['AWARDS'] %} + {% for a in p.awards|reverse %} + + {% endfor %} + {% endif %} {% if v and v.admin_level > 1 and p.author.shadowbanned %}