Only show download-link if profile.bin exist

This commit is contained in:
perast
2020-11-10 10:14:43 +01:00
parent 8c9c214650
commit b463bc569a
+6 -1
View File
@@ -18,7 +18,12 @@
profile.bin
</div>
<div class="col-md-3">
<a href="/download/profile.bin">{{ profile }}</a>
{% if profile %}
<a href="/download/profile.bin">{{ profile }}</a>
{% endif %}
{% if not profile %}
{{ profile }}
{% endif %}
</div>
</div>
</li>