summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/messages/message.html4
-rw-r--r--hyperkitty/templates/month_view.html2
-rw-r--r--hyperkitty/templates/recent_activities.html4
-rw-r--r--hyperkitty/templates/threads/right_col.html2
-rw-r--r--hyperkitty/templates/user_profile.html2
5 files changed, 7 insertions, 7 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>
diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html
index 27f9f99..9f3a857 100644
--- a/hyperkitty/templates/month_view.html
+++ b/hyperkitty/templates/month_view.html
@@ -76,7 +76,7 @@
{{email.answers}} comments
</li>
</ul>
- {% if settings.USE_MOCKUPS == True %}
+ {% if use_mockups %}
<ul class="inline-block" messageid="{{email.message_id_hash}}">
<li class="likestatus {{email.likestatus}}">
+{{email.avglike}}/-{{email.avgdislike}}
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index b22784f..50e9057 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -99,7 +99,7 @@
<a href="{% url search_tag mlist_fqdn=list_address, tag=email.category|lower %}">{{email.category}}</a>
</li>
{% endif %}
- {% if settings.USE_MOCKUPS == True %}
+ {% if use_mockups %}
<li class="likestatus neutral">
+0/-0
</li>
@@ -137,7 +137,7 @@
<a href="{% url search_tag mlist_fqdn=list_address, tag=email.category|lower %}">{{email.category}}</a>
</li>
{% endif %}
- {% if settings.USE_MOCKUPS == True %}
+ {% if use_mockups %}
<li class="likestatus neutral">
+0/-0
</li>
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 4534dae..253aa10 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -21,7 +21,7 @@
old
</div>
</div>
- {% if settings.USE_MOCKUPS == True %}
+ {% if use_mockups %}
<p id="add_to_fav">
<a href="#AddFav" class="notsaved">Add to favorite discussions</a>
</p>
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html
index f5bca76..e7a3c19 100644
--- a/hyperkitty/templates/user_profile.html
+++ b/hyperkitty/templates/user_profile.html
@@ -34,7 +34,7 @@
</tbody>
</table>
- {% if settings.USE_MOCKUPS == True %}
+ {% if use_mockups %}
<h3> Up Votes : </h3>
<ul>