summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-12-11 17:43:42 +0100
committerAurélien Bompard <aurelien@bompard.org>2012-12-11 18:16:53 +0100
commit71b5089b6d9b6cf45d5d14ee08c96ac4273323ce (patch)
tree046d2d1d306e602e83cbea411e7606ddee590842 /hyperkitty/templates
parent2bae760f4cad07653e5285ac9ccd4b6998fba3ac (diff)
downloadhyperkitty-71b5089b6d9b6cf45d5d14ee08c96ac4273323ce.tar.gz
hyperkitty-71b5089b6d9b6cf45d5d14ee08c96ac4273323ce.tar.xz
hyperkitty-71b5089b6d9b6cf45d5d14ee08c96ac4273323ce.zip
Fix votes on the profile page
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/user_profile.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/hyperkitty/templates/user_profile.html b/hyperkitty/templates/user_profile.html
index 6a6c5ac..4362877 100644
--- a/hyperkitty/templates/user_profile.html
+++ b/hyperkitty/templates/user_profile.html
@@ -39,7 +39,9 @@
{% for vote in votes_up %}
<li>
{% if vote.message.content|trimString|length > 0 %}
- <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">{{ vote.message.content|truncatechars:20 }}</a>
+ <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}"
+ >{{ vote.message.subject }}</a> by {{ vote.message.sender_name }}
+ ({{ vote.message|viewer_date|date:"l, j F Y H:i:s" }})
{% else %}
<a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">Message is empty</a>
{% endif %}
@@ -54,7 +56,9 @@
{% for vote in votes_down %}
<li>
{% if vote.message.content|trimString|length > 0 %}
- <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">{{ vote.message.content|truncatechars:20 }}</a>
+ <a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}"
+ >{{ vote.message.subject }}</a> by {{ vote.message.sender_name }}
+ ({{ vote.message|viewer_date|date:"l, j F Y H:i:s" }})
{% else %}
<a href="{% url message_index mlist_fqdn=vote.list_address, hashid=vote.messageid %}">Message is empty</a>
{% endif %}