summaryrefslogtreecommitdiffstats
path: root/hyperkitty
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty')
-rw-r--r--hyperkitty/templates/base.html4
-rw-r--r--hyperkitty/templates/message.html4
2 files changed, 3 insertions, 5 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index 0ae6d4c..5675db7 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -40,7 +40,7 @@
{% if list_address %}
<li id="list_name">
- <a href="/list/{{list_address}}">{{list_address}}</a>
+ <a href="{% url list_overview mlist_fqdn=list_address %}">{{list_address}}</a>
</li>
{% endif %}
@@ -52,8 +52,6 @@
</div>
-
-
<div class="container">
{% block content %} {% endblock %}
</div>
diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html
index 592e85d..5fd81a8 100644
--- a/hyperkitty/templates/message.html
+++ b/hyperkitty/templates/message.html
@@ -22,7 +22,7 @@
{% if user.is_authenticated %}
$.ajax({
type : "POST",
- url : '/vote/{{list_address}}/',
+ url : "{% url message_vote mlist_fqdn=list_address %}",
data : {
vote : 1,
messageid : message_id,
@@ -45,7 +45,7 @@
{% if user.is_authenticated %}
$.ajax({
type : "POST",
- url : '/vote/{{list_address}}/',
+ url : '{% url message_vote mlist_fqdn=list_address %}',
data : {
vote : -1,
messageid : message_id,