Add contact information for bicycle repair stations, add a 'report defective pump' button

This commit is contained in:
Pieter Vander Vennet 2021-08-21 23:09:34 +02:00
parent 327649c040
commit a2955eaf91
10 changed files with 103 additions and 53 deletions

View file

@ -226,6 +226,30 @@
} }
] ]
}, },
{
"question": {
"en": "What is the email address of the maintainer?",
"nl": "Wat is het email-adres van de beheerder?"
},
"freeform": {
"key": "email",
"type": "email"
},
"render": "<a href='mailto:{email}'>{email}</a>"
},
{
"question": {
"en": "What is the phone number of the maintainer?",
"nl": "Wat is het telefoonnummer van de beheerder?"
},
"freeform": {
"key": "phone",
"type": "phone"
},
"render": "<a href='tel:{phone}'>{phone}</a>"
},
{ {
"question": { "question": {
"nl": "Wanneer is dit fietsherstelpunt open?", "nl": "Wanneer is dit fietsherstelpunt open?",
@ -342,6 +366,7 @@
] ]
}, },
{ {
"#": "Operational status",
"question": { "question": {
"en": "Is the bike pump still operational?", "en": "Is the bike pump still operational?",
"nl": "Werkt de fietspomp nog?", "nl": "Werkt de fietspomp nog?",
@ -382,6 +407,16 @@
} }
] ]
}, },
{
"#": "Email maintainer",
"condition": {
"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>",
"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>"
}
},
{ {
"question": { "question": {
"en": "What valves are supported?", "en": "What valves are supported?",

View file

@ -407,7 +407,7 @@
"question": "Wer wartet diese Fahrradpumpe?", "question": "Wer wartet diese Fahrradpumpe?",
"render": "Gewartet von {operator}" "render": "Gewartet von {operator}"
}, },
"3": { "5": {
"question": "Wann ist diese Fahrradreparaturstelle geöffnet?", "question": "Wann ist diese Fahrradreparaturstelle geöffnet?",
"mappings": { "mappings": {
"0": { "0": {
@ -418,7 +418,7 @@
} }
} }
}, },
"4": { "6": {
"question": "Verfügt diese Fahrrad-Reparaturstation über Spezialwerkzeug zur Reparatur von Fahrradketten?", "question": "Verfügt diese Fahrrad-Reparaturstation über Spezialwerkzeug zur Reparatur von Fahrradketten?",
"mappings": { "mappings": {
"0": { "0": {
@ -429,7 +429,7 @@
} }
} }
}, },
"5": { "7": {
"question": "Hat diese Fahrradstation einen Haken, an dem Sie Ihr Fahrrad aufhängen können, oder einen Ständer, um es anzuheben?", "question": "Hat diese Fahrradstation einen Haken, an dem Sie Ihr Fahrrad aufhängen können, oder einen Ständer, um es anzuheben?",
"mappings": { "mappings": {
"0": { "0": {
@ -440,7 +440,7 @@
} }
} }
}, },
"6": { "8": {
"question": "Ist die Fahrradpumpe noch funktionstüchtig?", "question": "Ist die Fahrradpumpe noch funktionstüchtig?",
"mappings": { "mappings": {
"0": { "0": {
@ -451,7 +451,7 @@
} }
} }
}, },
"7": { "10": {
"question": "Welche Ventile werden unterstützt?", "question": "Welche Ventile werden unterstützt?",
"render": "Diese Pumpe unterstützt die folgenden Ventile: {valves}", "render": "Diese Pumpe unterstützt die folgenden Ventile: {valves}",
"mappings": { "mappings": {
@ -466,7 +466,7 @@
} }
} }
}, },
"8": { "11": {
"question": "Ist dies eine elektrische Fahrradpumpe?", "question": "Ist dies eine elektrische Fahrradpumpe?",
"mappings": { "mappings": {
"0": { "0": {
@ -477,7 +477,7 @@
} }
} }
}, },
"9": { "12": {
"question": "Verfügt die Pumpe über einen Druckanzeiger oder ein Manometer?", "question": "Verfügt die Pumpe über einen Druckanzeiger oder ein Manometer?",
"mappings": { "mappings": {
"0": { "0": {

View file

@ -527,6 +527,12 @@
"render": "Maintained by {operator}" "render": "Maintained by {operator}"
}, },
"3": { "3": {
"question": "What is the email address of the maintainer?"
},
"4": {
"question": "What is the phone number of the maintainer?"
},
"5": {
"question": "When is this bicycle repair point open?", "question": "When is this bicycle repair point open?",
"mappings": { "mappings": {
"0": { "0": {
@ -537,7 +543,7 @@
} }
} }
}, },
"4": { "6": {
"question": "Does this bike repair station have a special tool to repair your bike chain?", "question": "Does this bike repair station have a special tool to repair your bike chain?",
"mappings": { "mappings": {
"0": { "0": {
@ -548,7 +554,7 @@
} }
} }
}, },
"5": { "7": {
"question": "Does this bike station have a hook to hang your bike on or a stand to raise it?", "question": "Does this bike station have a hook to hang your bike on or a stand to raise it?",
"mappings": { "mappings": {
"0": { "0": {
@ -559,7 +565,7 @@
} }
} }
}, },
"6": { "8": {
"question": "Is the bike pump still operational?", "question": "Is the bike pump still operational?",
"mappings": { "mappings": {
"0": { "0": {
@ -570,7 +576,10 @@
} }
} }
}, },
"7": { "9": {
"render": "<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>"
},
"10": {
"question": "What valves are supported?", "question": "What valves are supported?",
"render": "This pump supports the following valves: {valves}", "render": "This pump supports the following valves: {valves}",
"mappings": { "mappings": {
@ -585,7 +594,7 @@
} }
} }
}, },
"8": { "11": {
"question": "Is this an electric bike pump?", "question": "Is this an electric bike pump?",
"mappings": { "mappings": {
"0": { "0": {
@ -596,7 +605,7 @@
} }
} }
}, },
"9": { "12": {
"question": "Does the pump have a pressure indicator or manometer?", "question": "Does the pump have a pressure indicator or manometer?",
"mappings": { "mappings": {
"0": { "0": {

View file

@ -435,7 +435,7 @@
"question": "Qui maintient cette pompe à vélo ?", "question": "Qui maintient cette pompe à vélo ?",
"render": "Mantenue par {operator}" "render": "Mantenue par {operator}"
}, },
"3": { "5": {
"question": "Quand ce point de réparation de vélo est-il ouvert ?", "question": "Quand ce point de réparation de vélo est-il ouvert ?",
"mappings": { "mappings": {
"0": { "0": {
@ -446,7 +446,7 @@
} }
} }
}, },
"4": { "6": {
"question": "Est-ce que cette station vélo a un outil specifique pour réparer la chaîne du vélo ?", "question": "Est-ce que cette station vélo a un outil specifique pour réparer la chaîne du vélo ?",
"mappings": { "mappings": {
"0": { "0": {
@ -457,7 +457,7 @@
} }
} }
}, },
"5": { "7": {
"question": "Est-ce que cette station vélo à un crochet pour suspendre son vélo ou une accroche pour l'élevé ?", "question": "Est-ce que cette station vélo à un crochet pour suspendre son vélo ou une accroche pour l'élevé ?",
"mappings": { "mappings": {
"0": { "0": {
@ -468,7 +468,7 @@
} }
} }
}, },
"6": { "8": {
"question": "La pompe à vélo fonctionne-t-elle toujours ?", "question": "La pompe à vélo fonctionne-t-elle toujours ?",
"mappings": { "mappings": {
"0": { "0": {
@ -479,7 +479,7 @@
} }
} }
}, },
"7": { "10": {
"question": "Quelles valves sont compatibles ?", "question": "Quelles valves sont compatibles ?",
"render": "Cette pompe est compatible avec les valves suivantes : {valves}", "render": "Cette pompe est compatible avec les valves suivantes : {valves}",
"mappings": { "mappings": {
@ -494,7 +494,7 @@
} }
} }
}, },
"8": { "11": {
"question": "Est-ce que cette pompe est électrique ?", "question": "Est-ce que cette pompe est électrique ?",
"mappings": { "mappings": {
"0": { "0": {
@ -505,7 +505,7 @@
} }
} }
}, },
"9": { "12": {
"question": "Est-ce que la pompe à un manomètre integré ?", "question": "Est-ce que la pompe à un manomètre integré ?",
"mappings": { "mappings": {
"0": { "0": {

View file

@ -170,7 +170,7 @@
} }
} }
}, },
"4": { "6": {
"question": "Esta estación de arranxo de bicicletas ten unha ferramenta especial para arranxar a cadea da túa bicicleta?", "question": "Esta estación de arranxo de bicicletas ten unha ferramenta especial para arranxar a cadea da túa bicicleta?",
"mappings": { "mappings": {
"0": { "0": {
@ -181,7 +181,7 @@
} }
} }
}, },
"5": { "7": {
"question": "Esta estación de bicicletas ten un guindastre para pendurar a túa bicicleta ou un soporte para elevala?", "question": "Esta estación de bicicletas ten un guindastre para pendurar a túa bicicleta ou un soporte para elevala?",
"mappings": { "mappings": {
"0": { "0": {
@ -192,7 +192,7 @@
} }
} }
}, },
"6": { "8": {
"question": "Segue a funcionar a bomba de ar?", "question": "Segue a funcionar a bomba de ar?",
"mappings": { "mappings": {
"0": { "0": {
@ -203,7 +203,7 @@
} }
} }
}, },
"7": { "10": {
"question": "Que válvulas son compatíbeis?", "question": "Que válvulas son compatíbeis?",
"render": "Esta bomba de ar admite as seguintes válvulas: {valves}", "render": "Esta bomba de ar admite as seguintes válvulas: {valves}",
"mappings": { "mappings": {
@ -218,7 +218,7 @@
} }
} }
}, },
"8": { "11": {
"question": "Esta é unha bomba de ar eléctrica?", "question": "Esta é unha bomba de ar eléctrica?",
"mappings": { "mappings": {
"0": { "0": {
@ -229,7 +229,7 @@
} }
} }
}, },
"9": { "12": {
"question": "Ten a bomba de ar un indicador de presión ou un manómetro?", "question": "Ten a bomba de ar un indicador de presión ou un manómetro?",
"mappings": { "mappings": {
"0": { "0": {

View file

@ -435,7 +435,7 @@
"question": "Chi gestisce questa pompa per bici?", "question": "Chi gestisce questa pompa per bici?",
"render": "Manutenuta da {operator}" "render": "Manutenuta da {operator}"
}, },
"3": { "5": {
"question": "Quando è aperto questo punto riparazione bici?", "question": "Quando è aperto questo punto riparazione bici?",
"mappings": { "mappings": {
"0": { "0": {
@ -446,7 +446,7 @@
} }
} }
}, },
"4": { "6": {
"question": "Questa stazione di riparazione bici ha un attrezzo speciale per riparare la catena della bici?", "question": "Questa stazione di riparazione bici ha un attrezzo speciale per riparare la catena della bici?",
"mappings": { "mappings": {
"0": { "0": {
@ -457,7 +457,7 @@
} }
} }
}, },
"5": { "7": {
"question": "Questa stazione bici ha un gancio per tenere sospesa la bici o un supporto per alzarla?", "question": "Questa stazione bici ha un gancio per tenere sospesa la bici o un supporto per alzarla?",
"mappings": { "mappings": {
"0": { "0": {
@ -468,7 +468,7 @@
} }
} }
}, },
"6": { "8": {
"question": "La pompa per bici è sempre funzionante?", "question": "La pompa per bici è sempre funzionante?",
"mappings": { "mappings": {
"0": { "0": {
@ -479,7 +479,7 @@
} }
} }
}, },
"7": { "10": {
"question": "Quali valvole sono supportate?", "question": "Quali valvole sono supportate?",
"render": "Questa pompa è compatibile con le seguenti valvole: {valves}", "render": "Questa pompa è compatibile con le seguenti valvole: {valves}",
"mappings": { "mappings": {
@ -494,7 +494,7 @@
} }
} }
}, },
"8": { "11": {
"question": "Questa pompa per bici è elettrica?", "question": "Questa pompa per bici è elettrica?",
"mappings": { "mappings": {
"0": { "0": {
@ -505,7 +505,7 @@
} }
} }
}, },
"9": { "12": {
"question": "Questa pompa ha lindicatore della pressione o il manometro?", "question": "Questa pompa ha lindicatore della pressione o il manometro?",
"mappings": { "mappings": {
"0": { "0": {

View file

@ -526,6 +526,12 @@
"render": "Beheer door {operator}" "render": "Beheer door {operator}"
}, },
"3": { "3": {
"question": "Wat is het email-adres van de beheerder?"
},
"4": {
"question": "Wat is het telefoonnummer van de beheerder?"
},
"5": {
"question": "Wanneer is dit fietsherstelpunt open?", "question": "Wanneer is dit fietsherstelpunt open?",
"mappings": { "mappings": {
"0": { "0": {
@ -536,7 +542,7 @@
} }
} }
}, },
"4": { "6": {
"question": "Heeft dit herstelpunt een speciale reparatieset voor je ketting?", "question": "Heeft dit herstelpunt een speciale reparatieset voor je ketting?",
"mappings": { "mappings": {
"0": { "0": {
@ -547,7 +553,7 @@
} }
} }
}, },
"5": { "7": {
"question": "Heeft dit herstelpunt een haak of standaard om je fiets op te hangen/zetten?", "question": "Heeft dit herstelpunt een haak of standaard om je fiets op te hangen/zetten?",
"mappings": { "mappings": {
"0": { "0": {
@ -558,7 +564,7 @@
} }
} }
}, },
"6": { "8": {
"question": "Werkt de fietspomp nog?", "question": "Werkt de fietspomp nog?",
"mappings": { "mappings": {
"0": { "0": {
@ -569,7 +575,7 @@
} }
} }
}, },
"7": { "10": {
"question": "Welke ventielen werken er met de pomp?", "question": "Welke ventielen werken er met de pomp?",
"render": "Deze pomp werkt met de volgende ventielen: {valves}", "render": "Deze pomp werkt met de volgende ventielen: {valves}",
"mappings": { "mappings": {
@ -584,7 +590,7 @@
} }
} }
}, },
"8": { "11": {
"question": "Is dit een electrische fietspomp?", "question": "Is dit een electrische fietspomp?",
"mappings": { "mappings": {
"0": { "0": {
@ -595,7 +601,7 @@
} }
} }
}, },
"9": { "12": {
"question": "Heeft deze pomp een luchtdrukmeter?", "question": "Heeft deze pomp een luchtdrukmeter?",
"mappings": { "mappings": {
"0": { "0": {

View file

@ -144,7 +144,7 @@
}, },
"bike_repair_station": { "bike_repair_station": {
"tagRenderings": { "tagRenderings": {
"6": { "8": {
"question": "Czy pompka rowerowa jest nadal sprawna?", "question": "Czy pompka rowerowa jest nadal sprawna?",
"mappings": { "mappings": {
"0": { "0": {
@ -155,11 +155,11 @@
} }
} }
}, },
"7": { "10": {
"question": "Jakie zawory są obsługiwane?", "question": "Jakie zawory są obsługiwane?",
"render": "Ta pompka obsługuje następujące zawory: {valves}" "render": "Ta pompka obsługuje następujące zawory: {valves}"
}, },
"8": { "11": {
"question": "Czy jest to elektryczna pompka do roweru?", "question": "Czy jest to elektryczna pompka do roweru?",
"mappings": { "mappings": {
"0": { "0": {
@ -170,7 +170,7 @@
} }
} }
}, },
"9": { "12": {
"question": "Czy pompka posiada wskaźnik ciśnienia lub manometr?", "question": "Czy pompka posiada wskaźnik ciśnienia lub manometr?",
"mappings": { "mappings": {
"0": { "0": {

View file

@ -393,7 +393,7 @@
"question": "Quem faz a manutenção desta bomba de ciclo?", "question": "Quem faz a manutenção desta bomba de ciclo?",
"render": "Mantida por {operator}" "render": "Mantida por {operator}"
}, },
"3": { "5": {
"mappings": { "mappings": {
"0": { "0": {
"then": "Sempre aberto" "then": "Sempre aberto"
@ -403,7 +403,7 @@
} }
} }
}, },
"4": { "6": {
"mappings": { "mappings": {
"0": { "0": {
"then": "Há uma ferramenta de corrente" "then": "Há uma ferramenta de corrente"
@ -413,7 +413,7 @@
} }
} }
}, },
"5": { "7": {
"mappings": { "mappings": {
"0": { "0": {
"then": "Há um gancho ou um suporte" "then": "Há um gancho ou um suporte"
@ -423,7 +423,7 @@
} }
} }
}, },
"8": { "11": {
"mappings": { "mappings": {
"0": { "0": {
"then": "Bomba manual" "then": "Bomba manual"
@ -433,7 +433,7 @@
} }
} }
}, },
"9": { "12": {
"mappings": { "mappings": {
"0": { "0": {
"then": "Há um manômetro" "then": "Há um manômetro"

View file

@ -329,7 +329,7 @@
} }
}, },
"tagRenderings": { "tagRenderings": {
"3": { "5": {
"question": "Когда работает эта точка обслуживания велосипедов?", "question": "Когда работает эта точка обслуживания велосипедов?",
"mappings": { "mappings": {
"0": { "0": {
@ -337,7 +337,7 @@
} }
} }
}, },
"6": { "8": {
"question": "Велосипедный насос все еще работает?", "question": "Велосипедный насос все еще работает?",
"mappings": { "mappings": {
"0": { "0": {
@ -348,7 +348,7 @@
} }
} }
}, },
"7": { "10": {
"render": "Этот насос поддерживает следующие клапаны: {valves}", "render": "Этот насос поддерживает следующие клапаны: {valves}",
"mappings": { "mappings": {
"0": { "0": {
@ -359,7 +359,7 @@
} }
} }
}, },
"8": { "11": {
"question": "Это электрический велосипедный насос?", "question": "Это электрический велосипедный насос?",
"mappings": { "mappings": {
"0": { "0": {
@ -370,7 +370,7 @@
} }
} }
}, },
"9": { "12": {
"mappings": { "mappings": {
"0": { "0": {
"then": "Есть манометр" "then": "Есть манометр"