forked from MapComplete/MapComplete
move sauna_at_leisure to own directory
This commit is contained in:
parent
c7ec2e6cab
commit
fe43c41d30
1 changed files with 11 additions and 84 deletions
|
@ -16,6 +16,17 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
|
{
|
||||||
|
"builtin": "sauna.*",
|
||||||
|
"override": {
|
||||||
|
"condition": {
|
||||||
|
"and+": [
|
||||||
|
"sauna=yes"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"prefix": "sauna"
|
||||||
|
},
|
||||||
"images",
|
"images",
|
||||||
"reviews",
|
"reviews",
|
||||||
{
|
{
|
||||||
|
@ -104,90 +115,6 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"builtin": "opening_hours",
|
|
||||||
"override": {
|
|
||||||
"question": {
|
|
||||||
"en": "What are the opening hours of this sauna?",
|
|
||||||
"de": "Wie lauten die Öffnungszeiten von dieser Sauna?"
|
|
||||||
},
|
|
||||||
"render": {
|
|
||||||
"en": "<h3>Opening hours</h3>{opening_hours_table(sauna:opening_hours)}",
|
|
||||||
"de": "<h3>Öffnungszeiten</h3>{opening_hours_table(sauna:opening_hours)}"
|
|
||||||
},
|
|
||||||
"freeform": {
|
|
||||||
"key": "sauna:opening_hours",
|
|
||||||
"type": "opening_hours"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "charge_cost_rewritten",
|
|
||||||
"rewrite": {
|
|
||||||
"sourceString": [
|
|
||||||
"{time_key}",
|
|
||||||
"{time_name}"
|
|
||||||
],
|
|
||||||
"into": [
|
|
||||||
[
|
|
||||||
"2 hours",
|
|
||||||
{
|
|
||||||
"en": "2 hours",
|
|
||||||
"de": "2 Stunden"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"4 hours",
|
|
||||||
{
|
|
||||||
"en": "4 hours",
|
|
||||||
"de": "4 Stunden"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"day",
|
|
||||||
{
|
|
||||||
"en": "one day",
|
|
||||||
"de": "einen Tag"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"renderings": [
|
|
||||||
{
|
|
||||||
"id": "charge_{time_key}",
|
|
||||||
"question": {
|
|
||||||
"en": "What is the entrance fee for {time_name}?",
|
|
||||||
"de": "Was ist der Eintrittspreis für {time_name}?"
|
|
||||||
},
|
|
||||||
"render": {
|
|
||||||
"en": "entrance fee for {time_name}: {sauna:charge}",
|
|
||||||
"de": "Eintrittspreis für {time_name}: {sauna:charge}"
|
|
||||||
},
|
|
||||||
"freeform": {
|
|
||||||
"key": "sauna:charge",
|
|
||||||
"type": "currency",
|
|
||||||
"inline": true,
|
|
||||||
"postfixDistinguished": "{time_key}",
|
|
||||||
"addExtraTags": [
|
|
||||||
"sauna:fee=yes"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"mappings": [
|
|
||||||
{
|
|
||||||
"if": "sauna:fee=no",
|
|
||||||
"addExtraTags": [
|
|
||||||
"sauna:charge="
|
|
||||||
],
|
|
||||||
"then": {
|
|
||||||
"en": "The sauna is free of charge",
|
|
||||||
"de": "Die Sauna ist kostenlos"
|
|
||||||
},
|
|
||||||
"hideInAnswer": "sauna:fee!=no"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"contact",
|
"contact",
|
||||||
"fixme"
|
"fixme"
|
||||||
],
|
],
|
Loading…
Add table
Add a link
Reference in a new issue