mapcomplete/assets/tagRenderings/questions.json

90 lines
2.5 KiB
JSON
Raw Normal View History

2020-10-27 01:01:34 +01:00
{
"images": {
"render": "{image_carousel()}{image_upload()}"
},
2020-12-08 23:44:34 +01:00
"reviews": {
"render": "{reviews()}"
},
2020-11-19 12:44:35 +01:00
"phone": {
"question": {
"en": "What is the phone number of {name}?",
"de": "Was ist die Telefonnummer von {name}?"
},
"render": "<a href='tel:{phone}'>{phone}</a>",
"freeform": {
"key": "phone",
"type": "phone"
}
},
2020-12-14 00:54:13 +01:00
"osmlink": {
"render": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>",
"mappings":[{
"if": "id~=-",
"then": "<span class='alert'>Uploading...</alert>"
}]
},
2020-11-19 12:44:35 +01:00
2020-12-14 00:54:13 +01:00
"wikipedialink": {
"render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/wikipedia.svg' alt='WP'/></a>",
"condition": "wikipedia~*"
},
2020-11-21 15:36:05 +01:00
"email": {
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"freeform": {
"key": "email",
"type": "email"
}
2020-10-27 01:01:34 +01:00
},
"website": {
"question": {
"en": "What is the website of {name}?",
"nl": "Wat is de website van {name}?",
"fr": "Quel est le site internet de {name}?",
"gl": "Cal é a páxina web de {name}?"
},
"render": "<a href='{website}' target='_blank'>{website}</a>",
"freeform": {
"key": "website",
"type": "url"
}
2020-11-21 15:36:05 +01:00
},
2020-12-14 00:54:13 +01:00
"description": {
"question": {
"nl": "Zijn er extra zaken die je niet in de bovenstaande vragen kwijt kon? Zet deze in de description<span style='font-size: small'>Herhaal geen antwoorden die je reeds gaf</span>",
"en": "Is there still something relevant you couldn't give in the previous questions? Add it here.<br/><span style='font-size: small'>Don't repeat already stated facts</span>"
},
"render": "{description}",
"freeform": {
"key": "description"
}
},
2020-11-21 15:36:05 +01:00
"opening_hours": {
"question": {
"en": "What are the opening hours of {name}?",
"de": "Was sind die Öffnungszeiten von {name}?"
},
"render": {
"de": "<h3>Öffnungszeiten</h3>{opening_hours_table(opening_hours)}",
"en": "<h3>Opening hours</h3>{opening_hours_table(opening_hours)}"
},
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
2021-01-05 02:59:29 +01:00
},
"mappings": [
{
"if": {
"or": ["opening_hours=by appointment",
"opening_hours=by_appointment",
"opening_hours=\"by appointment\""]
},
"then": {
"en": "Only by appointment",
"nl": "Enkel op afspraak"
},
"hideInAnswers": true
}
]
2020-10-27 01:01:34 +01:00
}
}