Don't show "Archivos" when there's no files
This commit is contained in:
parent
059bb76266
commit
b4a203ec65
|
@ -21,7 +21,9 @@
|
||||||
|
|
||||||
<br /><br />
|
<br /><br />
|
||||||
|
|
||||||
|
{% if files|length > 0 %}
|
||||||
<h3>Archivos</h3>
|
<h3>Archivos</h3>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for file in files %}
|
{% for file in files %}
|
||||||
<a href="{{ path_join(path, file) }}">{{ file }}</a><br />
|
<a href="{{ path_join(path, file) }}">{{ file }}</a><br />
|
||||||
|
|
Loading…
Reference in New Issue