Fix email question

This commit is contained in:
pietervdvn 2021-03-30 16:31:51 +02:00
parent 55d41ad15a
commit fc43447622
2 changed files with 13 additions and 9 deletions

View file

@ -43,7 +43,7 @@
"nl": "Wat is de naam van deze fietsbieb?"
},
"render": {
"en": "This bicycle library shop is called {name}",
"en": "This bicycle library is called {name}",
"nl": "Deze fietsbieb heet {name}"
},
"freeform": {

View file

@ -19,18 +19,23 @@
},
"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>"
}]
"mappings": [
{
"if": "id~=-",
"then": "<span class='alert'>Uploading...</alert>"
}
]
},
"wikipedialink": {
"render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/wikipedia.svg' alt='WP'/></a>",
"condition": "wikipedia~*"
"condition": "wikipedia~*"
},
"email": {
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"question": {
"nl": "Wat is het email-adres van {name}?",
"en": "What is the email address of {name}?"
},
"freeform": {
"key": "email",
"type": "email"
@ -49,7 +54,6 @@
"type": "url"
}
},
"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>",