summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/user_profile.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-09-06 12:50:21 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-06 12:50:21 +0200
commit4935c17ef310732a5e339ff5faa6c33bfde298b6 (patch)
tree86840af9568592e437c5c86df7c110a099fdf776 /hyperkitty/templates/user_profile.html
parent9877360a7f81943239d852de14eebf8be7674ad5 (diff)
downloadhyperkitty-4935c17ef310732a5e339ff5faa6c33bfde298b6.tar.gz
hyperkitty-4935c17ef310732a5e339ff5faa6c33bfde298b6.tar.xz
hyperkitty-4935c17ef310732a5e339ff5faa6c33bfde298b6.zip
Fix leftover hardcoded URLs
Diffstat (limited to 'hyperkitty/templates/user_profile.html')
-rw-r--r--hyperkitty/templates/user_profile.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html
index 798a947..3077141 100644
--- a/hyperkitty/templates/user_profile.html
+++ b/hyperkitty/templates/user_profile.html
@@ -41,9 +41,9 @@
{% if vote.vote == 1 %}
<li>
{% if vote.message.content|trimString|length > 0 %}
- <a href="/message/{{vote.list_address}}/{{vote.messageid}}">{{ vote.message.content|truncatechars:20 }}</a>
+ <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">{{ vote.message.content|truncatechars:20 }}</a>
{% else %}
- <a href="/message/{{vote.list_address}}/{{vote.messageid}}">Message is empty</a>
+ <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">Message is empty</a>
{% endif %}
</li>
{% endif %}
@@ -57,9 +57,9 @@
{% if vote.vote == -1 %}
<li>
{% if vote.message.content|trimString|length > 0 %}
- <a href="/message/{{vote.list_address}}/{{vote.messageid}}">{{ vote.message.content|truncatechars:20 }}</a>
+ <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">{{ vote.message.content|truncatechars:20 }}</a>
{% else %}
- <a href="/message/{{vote.list_address}}/{{vote.messageid}}">Message is empty</a>
+ <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">Message is empty</a>
{% endif %}
</li>
{% endif %}