From 7ea11616ce9f83a62a40bd27d07380a4de48c30a Mon Sep 17 00:00:00 2001 From: sanj Date: Wed, 19 Jan 2011 15:46:26 +0530 Subject: [PATCH] handle null files in document template --- itf/templates/resources.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/itf/templates/resources.html b/itf/templates/resources.html index a5f392c..b4de2ff 100644 --- a/itf/templates/resources.html +++ b/itf/templates/resources.html @@ -41,7 +41,9 @@ {{ r.intro }} {% endautoescape %}
+ {% if r.file %} Download Full Text + {% endif %} {% endfor %}