summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-10-02 12:11:40 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-10-02 12:11:40 +0200
commitbc7ab6eb365c8b78a083f3900fbd7304b5c92436 (patch)
treeb64aa422aa8a2f47451c4eaacad61086ecf29ae3 /hyperkitty/templates
parentc085839fc5bcc61dca6b94bcfe6a65473f9f2975 (diff)
downloadhyperkitty-bc7ab6eb365c8b78a083f3900fbd7304b5c92436.tar.gz
hyperkitty-bc7ab6eb365c8b78a083f3900fbd7304b5c92436.tar.xz
hyperkitty-bc7ab6eb365c8b78a083f3900fbd7304b5c92436.zip
Add a view to download attachments
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/message.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html
index 75770f1..e9f2806 100644
--- a/hyperkitty/templates/message.html
+++ b/hyperkitty/templates/message.html
@@ -14,7 +14,9 @@
<h2>Attachments</h2>
<ul>
{% for attachment in attachments %}
- <li>{{attachment.name}} ({{attachment.content_type}}, {{attachment.size}} octets)</li>
+ <li><a href="{% url message_attachment mlist_fqdn=list_address, hashid=hashid, counter=attachment.counter, filename=attachment.name %}">{{attachment.name}}</a>
+ ({{attachment.content_type}}, {{attachment.size}} octets)
+ </li>
{% endfor %}
</ul>
{% endif %}