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