summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/month_view.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-05 14:43:39 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-05 14:43:39 +0200
commit54f6eb7982a562a3526ee3b9be62fa6e9344dbdb (patch)
tree1bc46849e095bd5868e13ca78a6479c4c4164b29 /hyperkitty/templates/month_view.html
parentf409640d25c33247d06a3f00c006426e593cb751 (diff)
downloadhyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.tar.gz
hyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.tar.xz
hyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.zip
Adapt to KittyStore's API change
Diffstat (limited to 'hyperkitty/templates/month_view.html')
-rw-r--r--hyperkitty/templates/month_view.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html
index 24e4ae7..91d40f1 100644
--- a/hyperkitty/templates/month_view.html
+++ b/hyperkitty/templates/month_view.html
@@ -36,6 +36,7 @@
</div>
<div class="thread_info">
<ul class="tags inline">
+ {% if email.tags|length %}
<li>
Tags:
</li>
@@ -44,6 +45,7 @@
<a href="/tag/{{list_address}}/{{tag}}">{{tag}}</a>
</li>
{% endfor %}
+ {% endif %}
</ul>
<ul class="inline-block">
<li class="participant">
@@ -53,11 +55,13 @@
{{email.answers}} comments
</li>
</ul>
+ {% if settings.USE_MOCKUPS %}
<ul class="inline-block">
<li class="like">
+{{email.avglike}} / - {{email.avgdislike}}
</li>
</ul>
+ {% endif %}
</div>
</div>
<!-- End of thread -->