From 405a528b63288fb5d65055caef7c0d29d0b2bc75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20Scho=CC=88nbuchner?= Date: Fri, 11 Oct 2019 12:10:44 +0200 Subject: [PATCH] #4930 Remove Edit Data button for RASTER layer --- geonode/layers/templates/layers/layer_detail.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/geonode/layers/templates/layers/layer_detail.html b/geonode/layers/templates/layers/layer_detail.html index c61453a35ba..187a16b027f 100644 --- a/geonode/layers/templates/layers/layer_detail.html +++ b/geonode/layers/templates/layers/layer_detail.html @@ -498,7 +498,9 @@

{% trans "Layer" %}

{% trans "Replace" %} {% endif %} {% if "change_layer_data" in layer_perms and OGC_SERVER.default.BACKEND == 'geonode.geoserver' %} - {% trans "Edit data" %} + {% if layer_type != "raster" %} + {% trans "Edit data" %} + {% endif %} {% endif %} {% if "delete_resourcebase" in perms_list %} {% trans "Remove" %}