Some tweaks to climbing theme, fix #2033

This commit is contained in:
Pieter Vander Vennet 2024-07-20 17:16:16 +02:00
parent 6a8d2ba907
commit a75b9aaadd
2 changed files with 42 additions and 3 deletions

View file

@ -87,6 +87,7 @@
} }
], ],
"lineRendering": [], "lineRendering": [],
"titleIcons": ["icons.defaults"],
"presets": [ "presets": [
{ {
"title": { "title": {
@ -130,6 +131,9 @@
"payment-options", "payment-options",
"opening_hours", "opening_hours",
"reviews", "reviews",
"climbing.bouldering",
"climbing.sportclimbing",
"climbing.toprope",
{ {
"id": "shoe_rental", "id": "shoe_rental",
"question": { "question": {
@ -464,9 +468,6 @@
} }
] ]
}, },
"climbing.bouldering",
"climbing.sportclimbing",
"climbing.toprope",
{ {
"builtin": "climbing.average_length", "builtin": "climbing.average_length",
"override": { "override": {
@ -537,6 +538,7 @@
} }
] ]
}, },
"shower",
"internet", "internet",
"internet-fee", "internet-fee",
"internet-ssid" "internet-ssid"

View file

@ -2808,6 +2808,43 @@
} }
} }
] ]
},
{
"id": "shower",
"question": {
"en": "Does this facility offer showers?"
},
"mappings": [
{
"if": "shower=hot",
"icon": "./assets/layers/shower/shower.svg",
"then": {
"en": "This facility does have showers with warm water"
}
},
{
"if": "shower=cold",
"icon": "./assets/layers/shower/shower.svg",
"then": {
"en": "This facility does have showers, but the water is not heated"
}
},
{
"if": "shower=yes",
"icon": "./assets/layers/shower/shower.svg",
"then": {
"en": "This facility does have showers"
}
},
{
"if": "shower=no",
"icon": "invalid;./assets/layers/shower/shower.svg",
"then": {
"en": "This facility does not offer a shower"
}
}
]
} }
] ]
} }