From ea4e1a1f2c5fc2882014423ab67193902f266ab7 Mon Sep 17 00:00:00 2001
From: Ole Laursen <olau@iola.dk>
Date: Tue, 13 Mar 2012 11:19:13 +0000
Subject: [PATCH] Fix attachment link to work with newly submitted attachments
 (those using the new naming scheme)  - Legacy-Id: 4079

---
 ietf/templates/liaisons/liaisondetail_detail.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ietf/templates/liaisons/liaisondetail_detail.html b/ietf/templates/liaisons/liaisondetail_detail.html
index 612336274..cc151b62e 100644
--- a/ietf/templates/liaisons/liaisondetail_detail.html
+++ b/ietf/templates/liaisons/liaisondetail_detail.html
@@ -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 %}