summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/messages
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
commit4720489a755809bc90b0e3f4ab598cb7227a36c1 (patch)
treebcc181c758ea9a45d7759fbd739a68962a679be6 /hyperkitty/templates/messages
parent923d139f90f4a1c268965e03aacc3acd72723497 (diff)
downloadhyperkitty-4720489a755809bc90b0e3f4ab598cb7227a36c1.tar.gz
hyperkitty-4720489a755809bc90b0e3f4ab598cb7227a36c1.tar.xz
hyperkitty-4720489a755809bc90b0e3f4ab598cb7227a36c1.zip
Fix settings access from the templates
Diffstat (limited to 'hyperkitty/templates/messages')
-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>