Skip to content

Commit

Permalink
fix: editing buttons missing in admin when file present (#1511)
Browse files Browse the repository at this point in the history
* fix: editing buttons missing in admin when file present

Fixes #1499

* Update filer/templates/admin/filer/widgets/admin_file.html

---------

Co-authored-by: Fabian Braun <[email protected]>
  • Loading branch information
pajowu and fsbraun authored Dec 5, 2024
1 parent 8f7f96f commit fc34247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filer/templates/admin/filer/widgets/admin_file.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<span class="filerFile js-file-selector">
{% if object %}
{% if object.file.exists %}
<a href="{{ object.url }}" target="_blank">{% file_icon object detail=True %}</a>
<a href="{{ object.url }}" target="_blank">{% file_icon object detail="thumbnail" %}</a>
&nbsp;<span class="description_text">{{ object.label }}</span>
{% else %}
{% file_icon object %}
Expand Down

0 comments on commit fc34247

Please sign in to comment.