dont make link if there is no file in biblio
This commit is contained in:
parent
104c88517b
commit
afdcc73bf9
|
@ -1,5 +1,11 @@
|
|||
{% for d in documents %}
|
||||
<div class="orangeInnerRight"><a href="{{ d.file }} target="_blank"> {{ d.title }}</a></div>
|
||||
<div class="orangeInnerRight">
|
||||
{% if d.file %}
|
||||
<a href="{{ d.file }} target="_blank"> {{ d.title }}</a>
|
||||
{% else %}
|
||||
{{ d.title }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{{ d.intro|safe }}
|
||||
<br />
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user