summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/recent_activities.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-04 10:35:45 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-04 10:35:45 +0200
commitf409640d25c33247d06a3f00c006426e593cb751 (patch)
tree8f09e524f18a963140dd73ce9e9ad6d6db9d9eaf /hyperkitty/templates/recent_activities.html
parent0942d798f6ab24214466a484a21c8085e0ff7807 (diff)
downloadhyperkitty-f409640d25c33247d06a3f00c006426e593cb751.tar.gz
hyperkitty-f409640d25c33247d06a3f00c006426e593cb751.tar.xz
hyperkitty-f409640d25c33247d06a3f00c006426e593cb751.zip
Disable mockups
Diffstat (limited to 'hyperkitty/templates/recent_activities.html')
-rw-r--r--hyperkitty/templates/recent_activities.html9
1 files changed, 9 insertions, 0 deletions
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 %}