forked from MapComplete/MapComplete
Themes(toilet): don't show some items if wheelchair=designated, fix #2371
This commit is contained in:
parent
722f7e86cc
commit
e50962e1ce
10 changed files with 24 additions and 56 deletions
|
@ -783,10 +783,6 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"labels": [
|
||||
"relevant-questions",
|
||||
"no-prefix"
|
||||
],
|
||||
"labels": [
|
||||
"relevant-questions",
|
||||
"no-prefix"
|
||||
|
@ -933,10 +929,6 @@
|
|||
},
|
||||
{
|
||||
"id": "toilet-has-paper",
|
||||
"labels": [
|
||||
"relevant-questions",
|
||||
"prefixed"
|
||||
],
|
||||
"labels": [
|
||||
"relevant-questions"
|
||||
],
|
||||
|
@ -986,9 +978,6 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"labels": [
|
||||
"relevant-questions"
|
||||
],
|
||||
"labels": [
|
||||
"relevant-questions",
|
||||
"prefixed"
|
||||
|
@ -1170,11 +1159,10 @@
|
|||
"condition": {
|
||||
"and": [
|
||||
{
|
||||
"#": "NOT on designated",
|
||||
"or": [
|
||||
"wheelchair=yes",
|
||||
"wheelchair=designated",
|
||||
"toilets:wheelchair=yes",
|
||||
"toilets:wheelchair=designated"
|
||||
"toilets:wheelchair=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1197,11 +1185,10 @@
|
|||
"condition": {
|
||||
"and": [
|
||||
{
|
||||
"#": "NOT on designated",
|
||||
"or": [
|
||||
"wheelchair=yes",
|
||||
"wheelchair=designated",
|
||||
"toilets:wheelchair=yes",
|
||||
"toilets:wheelchair=designated"
|
||||
"toilets:wheelchair=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1236,6 +1223,18 @@
|
|||
},
|
||||
"icon": "./assets/layers/toilet/wheelchair.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"wheelchair:designated",
|
||||
"toilets:wheelchair=designated"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "No wheelchair accessible toilet",
|
||||
"nl": "Geen rolstoeltoegankelijke toilet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
|
@ -1259,11 +1258,10 @@
|
|||
"condition": {
|
||||
"and": [
|
||||
{
|
||||
"#": "NOT on designated",
|
||||
"or": [
|
||||
"wheelchair=yes",
|
||||
"wheelchair=designated",
|
||||
"toilets:wheelchair=yes",
|
||||
"toilets:wheelchair=designated"
|
||||
"toilets:wheelchair=yes"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue