summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/messages/message.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-10-17 13:33:23 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-10-17 13:33:23 +0200
commitce7d83ee233a9bd2bec34e43c46e8293c9dc0370 (patch)
treebcc181c758ea9a45d7759fbd739a68962a679be6 /hyperkitty/templates/messages/message.html
parentfd9ac73da6bd9c99d93cc79bc6165deb24842cbe (diff)
Fix settings access from the templates
Diffstat (limited to 'hyperkitty/templates/messages/message.html')
-rw-r--r--hyperkitty/templates/messages/message.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index ae111d3..6ff6c15 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -19,7 +19,7 @@
<span class="name"> <a href="{% url message_index mlist_fqdn=list_address, hashid=email.message_id_hash %}">{{email.sender_name}}</a> </span>
<br />
<span class="rank">
- {% if settings.USE_MOCKUPS == True %}
+ {% if use_mockups %}
Rank 8
{% else %}
&nbsp;
@@ -48,7 +48,7 @@
{% endif %}
<ul class="email_info inline" messageid="{{email.message_id_hash}}">
-{% if settings.USE_MOCKUPS == True %}
+{% if use_mockups %}
<li class="likestatus {{email.likestatus}}">
+{{email.likes}}/-{{email.dislikes}}
</li>