mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Fix the admin template
This commit is contained in:
parent
f7f2a8994f
commit
937e3e30e3
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue