handle null files in document template
This commit is contained in:
parent
497d0f5197
commit
7ea11616ce
|
@ -41,7 +41,9 @@
|
||||||
{{ r.intro }}
|
{{ r.intro }}
|
||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
<br />
|
<br />
|
||||||
|
{% if r.file %}
|
||||||
<a href="/static/{{r.file}}" target="_blank">Download Full Text</a>
|
<a href="/static/{{r.file}}" target="_blank">Download Full Text</a>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user