forked from MapComplete/MapComplete
		
	Add level indication to bike pumps, fixes #434
This commit is contained in:
		
							parent
							
								
									459fc22da5
								
							
						
					
					
						commit
						1caf70ca96
					
				
					 2 changed files with 37 additions and 0 deletions
				
			
		| 
						 | 
					@ -249,6 +249,7 @@
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      ]
 | 
					      ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    "level",
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "question": {
 | 
					      "question": {
 | 
				
			||||||
        "en": "Does this bike repair station have a special tool to repair your bike chain?",
 | 
					        "en": "Does this bike repair station have a special tool to repair your bike chain?",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -123,5 +123,41 @@
 | 
				
			||||||
  "all_tags": {
 | 
					  "all_tags": {
 | 
				
			||||||
    "#": "Prints all the tags",
 | 
					    "#": "Prints all the tags",
 | 
				
			||||||
    "render": "{all_tags()}"
 | 
					    "render": "{all_tags()}"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "level": {
 | 
				
			||||||
 | 
					    "question": {
 | 
				
			||||||
 | 
					      "nl": "Op welke verdieping bevindt dit punt zich?",
 | 
				
			||||||
 | 
					      "en": "On what level is this feature located?"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "render": {
 | 
				
			||||||
 | 
					      "en": "Located on the {level}th floor",
 | 
				
			||||||
 | 
					      "nl": "Bevindt zich op de {level}de verdieping"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					"freeform": {
 | 
				
			||||||
 | 
					  "key": "level",
 | 
				
			||||||
 | 
					  "type": "float"
 | 
				
			||||||
 | 
					},
 | 
				
			||||||
 | 
					    "mappings": [
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        "if": "location=underground",
 | 
				
			||||||
 | 
					        "then": {
 | 
				
			||||||
 | 
					          "en": "Located underground",
 | 
				
			||||||
 | 
					          "nl": "Bevindt zich ondergrounds"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        "hideInAnswer": true
 | 
				
			||||||
 | 
					      },{
 | 
				
			||||||
 | 
					        "if": "level=0",
 | 
				
			||||||
 | 
					        "then": {
 | 
				
			||||||
 | 
					          "en": "Located on the ground floor",
 | 
				
			||||||
 | 
					          "nl": "Bevindt zich gelijkvloers"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      },{
 | 
				
			||||||
 | 
					        "if": "level=1",
 | 
				
			||||||
 | 
					        "then": {
 | 
				
			||||||
 | 
					          "en": "Located on the first floor",
 | 
				
			||||||
 | 
					          "nl": "Bevindt zich op de eerste verdieping"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue