Skip to content

Commit

Permalink
Themes: add 'hoops' question to basketball pitches
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervdvn committed Jun 23, 2023
1 parent 1faf93d commit 4df9632
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions assets/layers/sport_pitch/sport_pitch.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,39 @@
],
"id": "sport_pitch-sport"
},
{
"id": "basketball-hoops",
"question": {
"en": "How much basketball hoops does this pitch have?"
},
"mappings": [
{
"if": "hoops=1",
"then": {
"en": "This basketball pitch has a single hoop"
}
},
{
"if": "hoops=2",
"then": {
"en": "This basketball pitch has two hoops"
}
},
{
"if": "hoops=4",
"then": {
"en": "This basketball pitch has four hoops"
}
},
{
"if": "hoops~*",
"then": {
"en": "This basketball pitch has {hoops} hoops"
},
"hideInAnswer": true
}
]
},
{
"question": {
"nl": "Wat is de ondergrond van dit sportveld?",
Expand Down

0 comments on commit 4df9632

Please sign in to comment.