Themes(climbing): Change conditions for gear rental questions

- Also recognize speed as enough to show the harness rental question
- Require answer on climbing styles before showing harness/belay device rental
This commit is contained in:
Midgard 2024-12-09 18:59:06 +01:00 committed by Pieter Vander Vennet
parent 73f0ffff5d
commit a4243986ea

View file

@ -242,10 +242,26 @@
},
"condition": {
"or": [
"climbing:sport!=no",
{
"and": [
"climbing:sport!=",
"climbing:sport!=no"
]
},
{
"and": [
"climbing:toprope!=",
"climbing:toprope!=no"
]
},
{
"and": [
"climbing:speed!=",
"climbing:speed!=no"
]
}
]
},
"mappings": [
{
"if": {
@ -327,9 +343,19 @@
},
"condition": {
"or": [
"climbing:sport!=no",
{
"and": [
"climbing:sport!=",
"climbing:sport!=no"
]
},
{
"and": [
"climbing:toprope!=",
"climbing:toprope!=no"
]
}
]
},
"mappings": [
{