summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-04 11:55:03 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-04 12:57:51 +0100
commit1ab795172026bc585b890f8e53f56b68f6541fe6 (patch)
tree15acfb56077c60a946f1060e69cb979ee05d2a0b /hyperkitty/templates
parent238d19f7e09bfa754f4b91622f1c34d08f2ef26d (diff)
downloadhyperkitty-1ab795172026bc585b890f8e53f56b68f6541fe6.tar.gz
hyperkitty-1ab795172026bc585b890f8e53f56b68f6541fe6.tar.xz
hyperkitty-1ab795172026bc585b890f8e53f56b68f6541fe6.zip
Rethink urls to be more hierarchic and less RPC
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/messages/like_form.html3
-rw-r--r--hyperkitty/templates/recent_activities.html2
2 files changed, 2 insertions, 3 deletions
diff --git a/hyperkitty/templates/messages/like_form.html b/hyperkitty/templates/messages/like_form.html
index ba78ede..3b99987 100644
--- a/hyperkitty/templates/messages/like_form.html
+++ b/hyperkitty/templates/messages/like_form.html
@@ -1,6 +1,5 @@
<form method="post" class="likeform"
- action="{% url message_vote mlist_fqdn=list_address %}">
- <input type="hidden" name="hashid" value="{{ hashid }}" />
+ action="{% url message_vote mlist_fqdn=list_address, hashid=hashid %}">
{% csrf_token %}
<li class="likestatus {{ object.likestatus }}">
+<span class="likecount">{{ object.likes }}</span>/-<span class="dislikecount">{{ object.dislikes }}</span>
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index 70d944a..37b0693 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -24,7 +24,7 @@
activity_graph(
["{{dates_string|join:'","'}}"],
{{evolution}},
- "{% url archives mlist_fqdn=list_address %}"
+ "{% url archives_latest mlist_fqdn=list_address %}"
);
</script>
</div>