From 590e0c62883fa3cfc556ded794f23426b01efe15 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Tue, 6 Dec 2022 07:19:39 +0100 Subject: [PATCH] #257 Missing geometry message red * changes message colour from blue to red (indicating 'blocking' message) * only renders message on read_only form e.g. on detail view --- templates/map/geom_form.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/map/geom_form.html b/templates/map/geom_form.html index 5cc5bdd8..58e21b84 100644 --- a/templates/map/geom_form.html +++ b/templates/map/geom_form.html @@ -4,9 +4,9 @@ Encapsules the rendering and initializing of a geometry view component, e.g. used in the detail views. {% endcomment %} -{% if geom_form.empty %} +{% if geom_form.empty and geom_form.read_only %}
-
+
{% fa5_icon 'search-location' %} {% trans 'No geometry added, yet.' %}