Fix attachment link to work with newly submitted attachments (those

using the new naming scheme)
 - Legacy-Id: 4079
This commit is contained in:
Ole Laursen 2012-03-13 11:19:13 +00:00
parent e7cf907c94
commit ea4e1a1f2c

View file

@ -89,7 +89,7 @@
<td>Attachments:</td>
<td>
{% for file in object.uploads_set.all %}
<a href="https://datatracker.ietf.org/documents/LIAISON/file{{ file.file_id }}{{ file.file_extension }}">{{ file.file_title }}</a>{% if not forloop.last %}<br/>{% endif %}
<a href="https://datatracker.ietf.org/documents/LIAISON/{{ file.filename }}">{{ file.file_title }}</a>{% if not forloop.last %}<br/>{% endif %}
{% empty %}
(none)
{% endfor %}