Skip to content

Commit

Permalink
- fix localsettings sample
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Nov 9, 2018
1 parent 0373f3e commit e67ec9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion geonode/layers/templates/layers/layer_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ <h4>{% trans "Styles" %}</h4>
</div>
{% endif %}
{% elif OGC_SERVER.default.BACKEND == 'geonode.qgis_server' and not resource.service %}

{% if "change_layer_style" in layer_perms and preview == 'leaflet' %}
<div class="col-sm-3">
<i class="fa fa-tint fa-3x"></i>
Expand Down
12 changes: 5 additions & 7 deletions geonode/local_settings.py.geoserver.sample
Original file line number Diff line number Diff line change
Expand Up @@ -235,15 +235,13 @@ if 'geonode.geoserver' in INSTALLED_APPS:
# )

# To enable the MapStore2 based Client enable those
if 'geonode_mapstore_client' not in INSTALLED_APPS:
INSTALLED_APPS += (
'mapstore2_adapter',
'geonode_mapstore_client',)

# if 'geonode_mapstore_client' not in INSTALLED_APPS:
# INSTALLED_APPS += (
# 'mapstore2_adapter',
# 'geonode_mapstore_client',)
# GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY = 'mapstore' # DEPRECATED use HOOKSET instead
# GEONODE_CLIENT_HOOKSET = "geonode_mapstore_client.hooksets.MapStoreHookSet"

MAPSTORE_DEBUG = False
# MAPSTORE_DEBUG = False

def get_geonode_catalogue_service():
if PYCSW:
Expand Down

0 comments on commit e67ec9b

Please sign in to comment.