Fix the history of an attachment (minor fixes)

remotes/origin/enhancement/email-actions
David Barragán Merino 2014-09-15 16:29:51 +02:00
parent 047b0acb20
commit 9774ec7761
1 changed files with 11 additions and 9 deletions

View File

@ -50,16 +50,18 @@
{% for att in values['changed'] %} {% for att in values['changed'] %}
<dd style="background: #eee; padding: 5px 15px; color: #444"> <dd style="background: #eee; padding: 5px 15px; color: #444">
<b>{{ att.filename|linebreaksbr }}</b> <b>{{ att.filename|linebreaksbr }}</b>
{% if att.changes.is_deprecated %} <ul>
{% if att.changes.is_deprecated.1 %} {% if att.changes.is_deprecated %}
to <i>deprecated</i> {% if att.changes.is_deprecated.1 %}
{% else %} <li>to <i>deprecated</i></li>
to <i>not deprecated</i> {% else %}
<li>to <i>not deprecated</i></li>
{% endif %}
{% endif %} {% endif %}
{% endif %} {% if att.changes.description %}
{% if att.changes.description %} <li>description to <i>att.changes.description.1</i></li>
to <i>att.changes.description.1</i> {% endif %}
{% endif %} </ul>
</dd> </dd>
{% endfor %} {% endfor %}
{% endif %} {% endif %}