summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-10 12:25:38 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-10 12:25:38 +0100
commita9636afdec4029745e9cdb88fbebdf674426828e (patch)
tree6aae06ebe892deeb65be5795b24b2d66a58e0a49
parent0a8e5ee78fb231606a0b43f6688aca47e941d91c (diff)
downloadhyperkitty-a9636afdec4029745e9cdb88fbebdf674426828e.tar.gz
hyperkitty-a9636afdec4029745e9cdb88fbebdf674426828e.tar.xz
hyperkitty-a9636afdec4029745e9cdb88fbebdf674426828e.zip
Activate voting (it's not a mockup anymore)
-rw-r--r--hyperkitty/templates/messages/message.html2
-rw-r--r--hyperkitty/templates/month_view.html2
-rw-r--r--hyperkitty/templates/user_profile.html5
3 files changed, 0 insertions, 9 deletions
diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html
index 9f5498d..307e596 100644
--- a/hyperkitty/templates/messages/message.html
+++ b/hyperkitty/templates/messages/message.html
@@ -44,7 +44,6 @@
{% endif %}
<ul class="email_info inline">
-{% if use_mockups %}
<form method="post" action="{% url message_vote mlist_fqdn=list_address %}">
<input type="hidden" name="hashid" value="{{ email.message_id_hash }}" />
{% csrf_token %}
@@ -58,7 +57,6 @@
<a class="youdislike" href="#dislike">Dislike</a>
</li>
</form>
-{% endif %}
{% if not unfolded and email.attachments|count %}
<li class="attachments">
<a class="attachments" href="#attachments">{{ email.attachments|count }} attachment(s)</a>
diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html
index 4e98e4a..802c1e6 100644
--- a/hyperkitty/templates/month_view.html
+++ b/hyperkitty/templates/month_view.html
@@ -79,7 +79,6 @@
{{ thread|length }} comments
</li>
</ul>
- {% if use_mockups %}
<ul class="inline-block">
<form method="post" action="{% url message_vote mlist_fqdn=list_address %}">
<input type="hidden" name="hashid" value="{{ thread.thread_id }}" />
@@ -97,7 +96,6 @@
</ul>
<a href="{% url thread threadid=thread.thread_id, mlist_fqdn=list_address %}"
class="btn">Show discussion</a>
- {% endif %}
</div>
</div>
<!-- End of thread -->
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html
index 675f7fa..6a6c5ac 100644
--- a/hyperkitty/templates/user_profile.html
+++ b/hyperkitty/templates/user_profile.html
@@ -34,8 +34,6 @@
</tbody>
</table>
- {% if use_mockups %}
-
<h3> Up Votes : </h3>
<ul>
{% for vote in votes_up %}
@@ -66,9 +64,6 @@
{% endfor %}
</ul>
- {% endif %}
-
-
{% endblock %}
{# vim: set noet: #}