forked from MapComplete/MapComplete
		
	Themes(mobility_hub): noname and network options
This commit is contained in:
		
							parent
							
								
									217d206a06
								
							
						
					
					
						commit
						f072b82fc3
					
				
					 1 changed files with 31 additions and 5 deletions
				
			
		|  | @ -73,8 +73,20 @@ | |||
|         "placeholder": { | ||||
|           "en": "Name of the mobility hub", | ||||
|           "nl": "Naam van de mobiliteitshub" | ||||
|         }, | ||||
|         "addExtraTags": [ | ||||
|           "noname=" | ||||
|         ] | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": "noname=yes", | ||||
|           "then": { | ||||
|             "en": "This mobility hub does not have a name", | ||||
|             "nl": "Deze mobiliteitshub heeft geen naam" | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "question": { | ||||
|  | @ -90,7 +102,8 @@ | |||
|           "nl": "Netwerk van deze mobiliteitshub" | ||||
|         }, | ||||
|         "addExtraTags": [ | ||||
|           "network:wikidata=" | ||||
|           "network:wikidata=", | ||||
|           "nonetwork=" | ||||
|         ] | ||||
|       }, | ||||
|       "render": { | ||||
|  | @ -98,6 +111,16 @@ | |||
|         "nl": "Deze mobiliteitshub hoort bij het netwerk {network}" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": "nonetwork=yes", | ||||
|           "then": { | ||||
|             "en": "This mobility hub does not belong to a network", | ||||
|             "nl": "Deze mobiliteitshub hoort niet bij een netwerk" | ||||
|           }, | ||||
|           "addExtraTags": [ | ||||
|             "network:wikidata=" | ||||
|           ] | ||||
|         }, | ||||
|         { | ||||
|           "if": "network=Groningen-Drenthe", | ||||
|           "then": { | ||||
|  | @ -107,7 +130,8 @@ | |||
|           "hideInAnswer": "_country!=nl", | ||||
|           "icon": "./assets/layers/mobility_hub/hub-gd.svg", | ||||
|           "addExtraTags": [ | ||||
|             "network:wikidata=Q108742233" | ||||
|             "network:wikidata=Q108742233", | ||||
|             "nonetwork=" | ||||
|           ] | ||||
|         }, | ||||
|         { | ||||
|  | @ -119,7 +143,8 @@ | |||
|           "hideInAnswer": "_country!=be", | ||||
|           "icon": "./assets/layers/mobility_hub/logo-hoppin.svg", | ||||
|           "addExtraTags": [ | ||||
|             "network:wikidata=Q124310711" | ||||
|             "network:wikidata=Q124310711", | ||||
|             "nonetwork=" | ||||
|           ] | ||||
|         }, | ||||
|         { | ||||
|  | @ -130,7 +155,8 @@ | |||
|           }, | ||||
|           "hideInAnswer": "_country!=de", | ||||
|           "addExtraTags": [ | ||||
|             "network:wikidata=Q110948933" | ||||
|             "network:wikidata=Q110948933", | ||||
|             "nonetwork=" | ||||
|           ] | ||||
|         } | ||||
|       ] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue