diff options
| author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-10 04:42:19 +0530 |
|---|---|---|
| committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-10 04:42:19 +0530 |
| commit | 11d4a50b856ef2735452576d3ee431051f6b54a9 (patch) | |
| tree | dddc4dde0f3701e7f54b35b143ce0ac70dc71218 /hyperkitty/templates/message.html | |
| parent | 7b8195ee07cc0d9b7076040745424032d5b906b7 (diff) | |
| download | hyperkitty-11d4a50b856ef2735452576d3ee431051f6b54a9.tar.gz hyperkitty-11d4a50b856ef2735452576d3ee431051f6b54a9.tar.xz hyperkitty-11d4a50b856ef2735452576d3ee431051f6b54a9.zip | |
Issues #18: Fix broken links because URLs were hard coded
Diffstat (limited to 'hyperkitty/templates/message.html')
| -rw-r--r-- | hyperkitty/templates/message.html | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
