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?" "nl": "Wat is de naam van deze fietsbieb?"
}, },
"render": { "render": {
"en": "This bicycle library shop is called {name}", "en": "This bicycle library is called {name}",
"nl": "Deze fietsbieb heet {name}" "nl": "Deze fietsbieb heet {name}"
}, },
"freeform": { "freeform": {

View file

@ -19,18 +19,23 @@
}, },
"osmlink": { "osmlink": {
"render": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>", "render": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>",
"mappings":[{ "mappings": [
{
"if": "id~=-", "if": "id~=-",
"then": "<span class='alert'>Uploading...</alert>" "then": "<span class='alert'>Uploading...</alert>"
}] }
]
}, },
"wikipedialink": { "wikipedialink": {
"render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/wikipedia.svg' alt='WP'/></a>", "render": "<a href='https://wikipedia.org/wiki/{wikipedia}' target='_blank'><img src='./assets/wikipedia.svg' alt='WP'/></a>",
"condition": "wikipedia~*" "condition": "wikipedia~*"
}, },
"email": { "email": {
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>", "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": { "freeform": {
"key": "email", "key": "email",
"type": "email" "type": "email"
@ -49,7 +54,6 @@
"type": "url" "type": "url"
} }
}, },
"description": { "description": {
"question": { "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>", "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>",