diff --git a/ckanext/odsh/fanstatic/odsh_spatial_query.js b/ckanext/odsh/fanstatic/odsh_spatial_query.js index 4673ecfbdce1c1405f82bbba168d42d1d4fb8b3f..152bd6f4c004b31b5faccffda2f53a483af52c09 100644 --- a/ckanext/odsh/fanstatic/odsh_spatial_query.js +++ b/ckanext/odsh/fanstatic/odsh_spatial_query.js @@ -19,9 +19,12 @@ this.ckan.module('odsh-spatial-query', function ($, _) }, template: { buttons: [ + '<div id="dataset-map-edit-buttons-text">', + 'Wählen Sie mit dem rechten Quadrat Ihren gesuchten Bereich aus und bestätigen Sie mit "Anwenden"', + '</div>', '<div id="dataset-map-edit-buttons">', - '<a href="javascript:;" class="btn cancel">Abbrechen</a> ', - '<a href="javascript:;" class="btn apply disabled">Anwenden</a>', + '<a href="javascript:;" class="btn btn-arrow-right cancel">Abbrechen</a> ', + '<a href="javascript:;" class="btn btn-primary btn-arrow-right apply disabled">Anwenden</a>', '</div>' ].join('') }, @@ -134,7 +137,6 @@ this.ckan.module('odsh-spatial-query', function ($, _) rectangle: { shapeOptions: module.options.style } } }); - console.log(drawControl) L.drawLocal.draw.toolbar.buttons.rectangle='Rechteck ziehen' // Initialize the draw control map.addControl(drawControl);