Skip to content

Commit fc34247

Browse files
pajowufsbraun
andauthored
fix: editing buttons missing in admin when file present (#1511)
* 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]>
1 parent 8f7f96f commit fc34247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<span class="filerFile js-file-selector">
2727
{% if object %}
2828
{% if object.file.exists %}
29-
<a href="{{ object.url }}" target="_blank">{% file_icon object detail=True %}</a>
29+
<a href="{{ object.url }}" target="_blank">{% file_icon object detail="thumbnail" %}</a>
3030
&nbsp;<span class="description_text">{{ object.label }}</span>
3131
{% else %}
3232
{% file_icon object %}

0 commit comments

Comments
 (0)