Update of the 'addNewMarker': show icons, show plus button, show label

This commit is contained in:
Pieter Vander Vennet 2021-08-22 18:48:38 +02:00
parent a2955eaf91
commit 3c73dfd6b2
12 changed files with 416 additions and 121 deletions

View file

@ -226,7 +226,6 @@
}
]
},
{
"question": {
"en": "What is the email address of the maintainer?",
@ -249,7 +248,6 @@
},
"render": "<a href='tel:{phone}'>{phone}</a>"
},
{
"question": {
"nl": "Wanneer is dit fietsherstelpunt open?",
@ -410,10 +408,13 @@
{
"#": "Email maintainer",
"condition": {
"and": ["email~*", "service:bicycle:pump:operational_status=broken"]
"and": [
"email~*",
"service:bicycle:pump:operational_status=broken"
]
},
"render": {
"en": "<a href='mailto:{email}?subject=Broken bicycle pump&body=Hello,%0D%0A%0D%0AWith this email, I&#39;d like to inform you that the bicycle pump located at https://mapcomplete.osm.be/cyclofix#{id} is broken.'>Report this bicycle pump as broken</a>",
"en": "<a href='mailto:{email}?subject=Broken bicycle pump&body=Hello,\n\nWith this email, I'd like to inform you that the bicycle pump located at https://mapcomplete.osm.be/cyclofix?lat={_lat}&lon={_lon}&z=18#{id} is broken.'>Report this bicycle pump as broken</a>",
"nl": "<a href='mailto:{email}?subject=Kapotte fietspomp&body=Geachte,%0D%0A%0D%0AGraag had ik u gemeld dat een fietspomp defect is. De fietspomp bevindt zich hier: https://mapcomplete.osm.be/cyclofix#{id}.'>Rapporteer deze fietspomp als kapot</a>"
}
},