Merge pull request #2034 from FloEdelmann/armchair

Add `armchair` question to bench layer
This commit is contained in:
Pieter Vander Vennet 2024-07-20 16:13:56 +02:00 committed by GitHub
commit 1e4e672e72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 1 deletions

View file

@ -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
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.
Don't worry about bugs

View file

@ -234,6 +234,32 @@
"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": {
"en": "This bench has {seats} seats",