Skip to content
Snippets Groups Projects
Commit 67826e29 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

feat: Adjust title of form according to map type

parent 924e64c9
No related branches found
No related tags found
1 merge request!191Add map module and Open-Meteo support
......@@ -37,6 +37,7 @@ class MapModal {
selectLocation: 'Velg sted',
selectCoordinates: 'Velg punkt',
createNewLocation: 'Opprett nytt sted',
selectNewCoordinates: 'Velg nytt punkt',
name: 'Navn',
latitude: 'Breddegrad',
longitude: 'Lengdegrad',
......@@ -57,6 +58,7 @@ class MapModal {
selectLocation: 'Select location',
selectCoordinates: 'Select point',
createNewLocation: 'Create New Location',
selectNewCoordinates: 'Select new point',
name: 'Name',
latitude: 'Latitude',
longitude: 'Longitude',
......@@ -447,7 +449,7 @@ class MapModal {
form.innerHTML = `
<div class="panel-heading">
<h4 class="panel-title">${this.translations.createNewLocation}</h4>
<h4 class="panel-title">${this.isPoiMap ? this.translations.createNewLocation : this.translations.selectNewCoordinates}</h4>
<span id="map-poi-close-button" style="position: absolute; top: 5px; right: 10px; cursor: pointer; font-size: 18px;">&times;</span>
</div>
<div class="panel-body">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment