summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
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
parentf409640d25c33247d06a3f00c006426e593cb751 (diff)
downloadhyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.tar.gz
hyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.tar.xz
hyperkitty-54f6eb7982a562a3526ee3b9be62fa6e9344dbdb.zip
Adapt to KittyStore's API change
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/month_view.html4
-rw-r--r--hyperkitty/templates/threads/right_col.html2
-rw-r--r--hyperkitty/templates/user_profile.html2
3 files changed, 8 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 -->
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 78f0621..19ac788 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -21,9 +21,11 @@
old
</div>
</div>
+ {% if settings.USE_MOCKUPS %}
<p id="add_to_fav">
<a href="#AddFav" class="notsaved">Add to favorite discussions</a>
</p>
+ {% endif %}
<!-- End dates -->
<hr id="grey"/>
<div id="tags">
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html
index f0aa27e..798a947 100644
--- a/hyperkitty/templates/user_profile.html
+++ b/hyperkitty/templates/user_profile.html
@@ -33,6 +33,7 @@
</tr>
</tbody>
</table>
+ {% if settings.USE_MOCKUPS %}
<h3> Up Votes : </h3>
<ul>
@@ -64,6 +65,7 @@
{% endif %}
{% endfor %}
</ul>
+ {% endif %}
{% endblock %}