Files
modoboa/extensions/webmail/templates/headers.html
T
tonio c01d6de7d8 fix: return receipts are now displayed correctly.
new: parameters module refactored. The API is more simple now, there is no need to provide a module name anymore, this last is automatically guessed. Also, a new 'label' field can be provide when declaring a new parameter. It will be used instead of the name.

new: email parsing refactored. My first attempt was really ugly. I did not really studied the various RFC describing how messages are formatted or what IMAP fetch queries can do. Now, I hope this new code will face better unknown types. At least, It will be simpler to update.
2010-09-17 09:23:35 +02:00

17 lines
430 B
HTML

{% extends "common/mailheaders.html" %}
{% load i18n %}
{% block extraheaders %}
{% if attachments %}
<tr>
<th>{% trans "Attachments" %}</th>
<td>
{% url extensions.webmail.views.getattachment folder mail_id as test %}
{% for key, fname in attachments.items %}
<a href="{{ test }}?fname={{ fname }}&partnumber={{ key }}">{{ fname }}</a>
{% endfor %}
</td>
</tr>
{% endif %}
{% endblock %}