From fc342474e8e4a9825b334d1362ffee9a15cf38db Mon Sep 17 00:00:00 2001 From: pajowu Date: Thu, 5 Dec 2024 21:05:07 +0100 Subject: [PATCH] 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 --- filer/templates/admin/filer/widgets/admin_file.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filer/templates/admin/filer/widgets/admin_file.html b/filer/templates/admin/filer/widgets/admin_file.html index 49d395f36..dc216c2d0 100644 --- a/filer/templates/admin/filer/widgets/admin_file.html +++ b/filer/templates/admin/filer/widgets/admin_file.html @@ -26,7 +26,7 @@ {% if object %} {% if object.file.exists %} - {% file_icon object detail=True %} + {% file_icon object detail="thumbnail" %}  {{ object.label }} {% else %} {% file_icon object %}