From 5afafa151c08ebc63c0d6144d827ae8e55d91637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=28Quadric=29=20Sieradzki?= Date: Fri, 20 Mar 2020 11:00:00 +0100 Subject: [PATCH] fix invalid focal_point attribute on image edit view --- wagtail/images/templates/wagtailimages/images/edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/images/templates/wagtailimages/images/edit.html b/wagtail/images/templates/wagtailimages/images/edit.html index 100b5f21de..5fd7ad3a64 100644 --- a/wagtail/images/templates/wagtailimages/images/edit.html +++ b/wagtail/images/templates/wagtailimages/images/edit.html @@ -80,7 +80,7 @@

{% trans "Focal point" %} {% trans "(optional)" %}

-

{% trans "To define this image's most important region, drag a box over the image above." %} {% if image.focal_point %}({% trans "Current focal point shown" %}){% endif %}

+

{% trans "To define this image's most important region, drag a box over the image above." %} {% if image.has_focal_point %}({% trans "Current focal point shown" %}){% endif %}