Themes(mobility_hub): noname and network options
All checks were successful
/ deploy_on_hosted (push) Successful in 21m0s

This commit is contained in:
Robin van der Linde 2025-04-19 17:33:10 +02:00
parent 217d206a06
commit f072b82fc3
Signed by: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -73,8 +73,20 @@
"placeholder": {
"en": "Name of the mobility hub",
"nl": "Naam van de mobiliteitshub"
},
"addExtraTags": [
"noname="
]
},
"mappings": [
{
"if": "noname=yes",
"then": {
"en": "This mobility hub does not have a name",
"nl": "Deze mobiliteitshub heeft geen naam"
}
}
}
]
},
{
"question": {
@ -90,7 +102,8 @@
"nl": "Netwerk van deze mobiliteitshub"
},
"addExtraTags": [
"network:wikidata="
"network:wikidata=",
"nonetwork="
]
},
"render": {
@ -98,6 +111,16 @@
"nl": "Deze mobiliteitshub hoort bij het netwerk {network}"
},
"mappings": [
{
"if": "nonetwork=yes",
"then": {
"en": "This mobility hub does not belong to a network",
"nl": "Deze mobiliteitshub hoort niet bij een netwerk"
},
"addExtraTags": [
"network:wikidata="
]
},
{
"if": "network=Groningen-Drenthe",
"then": {
@ -107,7 +130,8 @@
"hideInAnswer": "_country!=nl",
"icon": "./assets/layers/mobility_hub/hub-gd.svg",
"addExtraTags": [
"network:wikidata=Q108742233"
"network:wikidata=Q108742233",
"nonetwork="
]
},
{
@ -119,7 +143,8 @@
"hideInAnswer": "_country!=be",
"icon": "./assets/layers/mobility_hub/logo-hoppin.svg",
"addExtraTags": [
"network:wikidata=Q124310711"
"network:wikidata=Q124310711",
"nonetwork="
]
},
{
@ -130,7 +155,8 @@
},
"hideInAnswer": "_country!=de",
"addExtraTags": [
"network:wikidata=Q110948933"
"network:wikidata=Q110948933",
"nonetwork="
]
}
]