summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/messages/message.html6
-rw-r--r--hyperkitty/templates/recent_activities.html9
2 files changed, 14 insertions, 1 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index 533d9ed..1e8a53d 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -4,8 +4,10 @@
{% gravatar_img_for_email email.email 40 %}
<div class="email_author inline-block">
<span class="name"> <a href="{% url message_index mlist_fqdn=list_address, hashid=email.message_id_hash %}">{{email.sender_name}}</a> </span>
+ {% if settings.USE_MOCKUPS %}
<br />
<span class="rank">Rank 8</span>
+ {% endif %}
</div>
<div class="email_date inline-block right">
<span class="date">{{email.date}}</span>
@@ -20,6 +22,8 @@
{{email.content}}
</div>
+
+{% if settings.USE_MOCKUPS %}
<ul class="email_info inline" messageid="{{email.message_id_hash}}">
<li class="neutral">
+{{email.likes}}/-{{email.dislikes}}
@@ -31,4 +35,4 @@
<a href="#dislike"> Dislike</a>
</li>
</ul>
-
+{% endif %}
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index 22f7304..9195834 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -97,9 +97,11 @@
<a href="/tag/{{list_address}}/{{email.category|lower}}"> {{email.category}} </a>
</li>
{% endif %}
+ {% if settings.USE_MOCKUPS %}
<li class="neutral">
0
</li>
+ {% endif %}
<li class="participant">
{{email.participants|length}}
</li>
@@ -132,9 +134,11 @@
<a href="/tag/{{list_address}}/{{email.category|lower}}"> {{email.category}} </a>
</li>
{% endif %}
+ {% if settings.USE_MOCKUPS %}
<li class="neutral">
0
</li>
+ {% endif %}
<li class="participant">
{{email.participants|length}}
</li>
@@ -148,6 +152,7 @@
{% endfor %}
</section>
+ {% if top_author %}
<section id="discussion_marker">
<h2>Prominent discussion maker</h2>
{% for author in top_author %}
@@ -173,7 +178,9 @@
<h2>Tag cloud</h2>
</section>
+ {% endif %}
+ {% if threads_per_category %}
<section id="discussion_by_topic">
<h2>Discussion by topic the last 30 days</h2>
{% for category, thread in threads_per_category.items %}
@@ -189,6 +196,8 @@
</div>
{% endfor %}
</section>
+ {% endif %}
+
</section>
<section id="archives">
{% for key, value in archives_length|sort %}