From c84d95a442c8b853a9f84c67175aec6a19dc0453 Mon Sep 17 00:00:00 2001 From: srto Date: Sat, 8 Jun 2019 10:54:06 +1200 Subject: [PATCH] Use {% static %} tag to generate static URLs --- .../geonode-mapstore-client/_client_composer_js.html | 6 +++--- .../geonode-mapstore-client/_client_viewer_js.html | 6 +++--- .../templates/geonode-mapstore-client/base_ms.html | 4 ++-- .../templates/geonode-mapstore-client/edit_map.html | 7 ++++--- .../templates/geonode-mapstore-client/layer_edit.html | 7 ++++--- .../templates/geonode-mapstore-client/layer_map.html | 3 ++- .../geonode-mapstore-client/layer_style_edit.html | 7 ++++--- .../templates/geonode-mapstore-client/layer_view.html | 7 ++++--- .../templates/geonode-mapstore-client/map_embed.html | 5 +++-- .../templates/geonode-mapstore-client/map_view.html | 5 +++-- 10 files changed, 32 insertions(+), 25 deletions(-) diff --git a/geonode_mapstore_client/templates/geonode-mapstore-client/_client_composer_js.html b/geonode_mapstore_client/templates/geonode-mapstore-client/_client_composer_js.html index 01f14c85b0..97c63766fa 100644 --- a/geonode_mapstore_client/templates/geonode-mapstore-client/_client_composer_js.html +++ b/geonode_mapstore_client/templates/geonode-mapstore-client/_client_composer_js.html @@ -11,10 +11,10 @@ {% if MAP_DEBUG %} {% else %} - + {% endif %} - + - \ No newline at end of file + \ No newline at end of file diff --git a/geonode_mapstore_client/templates/geonode-mapstore-client/_client_viewer_js.html b/geonode_mapstore_client/templates/geonode-mapstore-client/_client_viewer_js.html index 61870cef07..15f71c2e7f 100644 --- a/geonode_mapstore_client/templates/geonode-mapstore-client/_client_viewer_js.html +++ b/geonode_mapstore_client/templates/geonode-mapstore-client/_client_viewer_js.html @@ -11,11 +11,11 @@ {% if MAP_DEBUG %} {% else %} - + {% endif %} - + - + diff --git a/geonode_mapstore_client/templates/geonode-mapstore-client/base_ms.html b/geonode_mapstore_client/templates/geonode-mapstore-client/base_ms.html index 990fce616d..ccfcdd490c 100644 --- a/geonode_mapstore_client/templates/geonode-mapstore-client/base_ms.html +++ b/geonode_mapstore_client/templates/geonode-mapstore-client/base_ms.html @@ -22,11 +22,11 @@ {% if MAP_DEBUG %} {% else %} - + {% endif %} - + {% block plugins %} diff --git a/geonode_mapstore_client/templates/geonode-mapstore-client/edit_map.html b/geonode_mapstore_client/templates/geonode-mapstore-client/edit_map.html index 379af2bdfe..ab4d9dd849 100644 --- a/geonode_mapstore_client/templates/geonode-mapstore-client/edit_map.html +++ b/geonode_mapstore_client/templates/geonode-mapstore-client/edit_map.html @@ -1,8 +1,9 @@ {% extends "./base_ms.html" %} +{% load static %} {% block plugins %} - - - + + + {% endblock %} {% block style %}