From afdcc73bf95b3fd320fcb0ceaf8a556ea9faa17c Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 16 Dec 2011 23:49:12 +0530 Subject: [PATCH] dont make link if there is no file in biblio --- itf/templates/modules/festival/documentsubject.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/itf/templates/modules/festival/documentsubject.html b/itf/templates/modules/festival/documentsubject.html index 14144d0..c6a4e25 100755 --- a/itf/templates/modules/festival/documentsubject.html +++ b/itf/templates/modules/festival/documentsubject.html @@ -1,5 +1,11 @@ {% for d in documents %} -
{{ d.title }}
+
+ {% if d.file %} + {{ d.title }} + {% else %} + {{ d.title }} + {% endif %} +
{{ d.intro|safe }}
{% endfor %}