From 9474997b7bdc4a9fca89a5fe3698790345834692 Mon Sep 17 00:00:00 2001 From: Kara Engelhardt Date: Thu, 5 Dec 2024 15:47:34 +0100 Subject: [PATCH 1/2] fix: editing buttons missing in admin when file present Fixes #1499 --- filer/templates/admin/filer/widgets/admin_file.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filer/templates/admin/filer/widgets/admin_file.html b/filer/templates/admin/filer/widgets/admin_file.html index 49d395f36..c5ebc98be 100644 --- a/filer/templates/admin/filer/widgets/admin_file.html +++ b/filer/templates/admin/filer/widgets/admin_file.html @@ -14,7 +14,7 @@ -
@@ -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 %} From 4f10119c0b034db49bfa290c84d4b9c901d9d140 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Thu, 5 Dec 2024 20:57:29 +0100 Subject: [PATCH 2/2] Update filer/templates/admin/filer/widgets/admin_file.html --- 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 c5ebc98be..dc216c2d0 100644 --- a/filer/templates/admin/filer/widgets/admin_file.html +++ b/filer/templates/admin/filer/widgets/admin_file.html @@ -14,7 +14,7 @@
-