Fix the admin template

master
Thomas Sileo 2018-07-23 23:56:22 +02:00
rodzic f7f2a8994f
commit 937e3e30e3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -57,7 +57,7 @@
{% if a.mediaType.startswith("image/") %}
<a href="{{ a.url | get_attachment_url(None) }}"><img src="{{a.url | get_attachment_url(720) }}" class="img-attachment"></a>
{% else %}
<li><a href="{{a.url | get_attachment_url(None) }}" class="l">{% if a.filename %}{{ a.filename }}{% else %}{{ a.url }}{% endif %}</a></li>
<li><a href="{{a.url }}" class="l">{% if a.filename %}{{ a.filename }}{% else %}{{ a.url }}{% endif %}</a></li>
{% endif %}
{% endfor %}
{% if obj.attachment | not_only_imgs %}