diff --git a/geonode/layers/templates/layers/layer_detail.html b/geonode/layers/templates/layers/layer_detail.html index 18b2e88c3e0..eaf00a1bb85 100644 --- a/geonode/layers/templates/layers/layer_detail.html +++ b/geonode/layers/templates/layers/layer_detail.html @@ -398,16 +398,14 @@
- {% if links %} -
  • -

    {% trans "Pick your download format:" %}

    - -
  • - {% endif %} +
  • +

    {% trans "Pick your download format:" %}

    + +
  • {% endif %} @@ -424,6 +422,10 @@

    {% trans "Pick your download format:" %}

    {% get_obj_perms request.user for resource.layer as "layer_perms" %} {% endif %} + {% if OGC_SERVER.default.BACKEND == 'geonode.qgis_server' %} + {% get_obj_perms request.user for resource.layer as "layer_perms" %} + {% endif %} +
  • @@ -465,6 +467,7 @@

    {% trans "Styles" %}

    {% endif %} {% elif OGC_SERVER.default.BACKEND == 'geonode.qgis_server' and not resource.service %} + {% if "change_layer_style" in layer_perms and preview == 'leaflet' %}