forked from MapComplete/MapComplete
Merge pull request #2034 from FloEdelmann/armchair
Add `armchair` question to bench layer
This commit is contained in:
commit
1e4e672e72
2 changed files with 27 additions and 1 deletions
|
@ -23,7 +23,7 @@ to `https://pietervdvn.github.io/mc/<branchname>`. You can see the deploy proces
|
||||||
on [GitHub Actions](https://github.com/pietervdvn/MapComplete/actions). Don't worry about pushing too much. These
|
on [GitHub Actions](https://github.com/pietervdvn/MapComplete/actions). Don't worry about pushing too much. These
|
||||||
deploys are free and totally automatic. They might fail if something is wrong, but this will hinder no one.
|
deploys are free and totally automatic. They might fail if something is wrong, but this will hinder no one.
|
||||||
|
|
||||||
Additionaly, some other maintainer might step in and merge the latest develop with your branch, making later pull
|
Additionally, some other maintainer might step in and merge the latest develop with your branch, making later pull
|
||||||
requests easier.
|
requests easier.
|
||||||
|
|
||||||
Don't worry about bugs
|
Don't worry about bugs
|
||||||
|
|
|
@ -234,6 +234,32 @@
|
||||||
"bench-questions"
|
"bench-questions"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "armrest=yes",
|
||||||
|
"then": {
|
||||||
|
"en": "This bench does have one or more armrests",
|
||||||
|
"de": "Diese Sitzbank hat eine oder mehrere Armlehnen"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "armrest=no",
|
||||||
|
"then": {
|
||||||
|
"en": "This bench does <b>not</b> have any armrests",
|
||||||
|
"de": "Diese Sitzbank hat <b>keine</b> Armlehnen"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"question": {
|
||||||
|
"en": "Does this bench have one or more armrests?",
|
||||||
|
"de": "Hat diese Sitzbank eine oder mehrere Armlehnen?"
|
||||||
|
},
|
||||||
|
"id": "bench-armrest",
|
||||||
|
"labels": [
|
||||||
|
"bench-questions"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"render": {
|
"render": {
|
||||||
"en": "This bench has {seats} seats",
|
"en": "This bench has {seats} seats",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue