forked from MapComplete/MapComplete
		
	Small styling tweaks
This commit is contained in:
		
							parent
							
								
									d443616d1f
								
							
						
					
					
						commit
						2e80fff92e
					
				
					 2 changed files with 489 additions and 488 deletions
				
			
		|  | @ -83,7 +83,7 @@ export default class FeatureInfoBox extends ScrollableFullScreen { | |||
|                             layerConfig.allowMove | ||||
|                         ); | ||||
|                     }) | ||||
|                 ) | ||||
|                 ).SetClass("text-base") | ||||
|             ); | ||||
|         } | ||||
| 
 | ||||
|  | @ -94,14 +94,14 @@ export default class FeatureInfoBox extends ScrollableFullScreen { | |||
|                         id, | ||||
|                         layerConfig.deletion | ||||
|                     )) | ||||
|                 )) | ||||
|                 ).SetClass("text-base")) | ||||
|         } | ||||
| 
 | ||||
|         if (layerConfig.allowSplit) { | ||||
|             editElements.push( | ||||
|                 new VariableUiElement(tags.map(tags => tags.id).map(id => | ||||
|                     new SplitRoadWizard(id)) | ||||
|                 )) | ||||
|                 ).SetClass("text-base")) | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,490 +1,491 @@ | |||
| { | ||||
|     "id": "public_bookcase", | ||||
|     "name": { | ||||
|         "en": "Bookcases", | ||||
|         "nl": "Boekenruilkastjes", | ||||
|         "de": "Bücherschränke", | ||||
|         "fr": "Microbibliothèque", | ||||
|         "ru": "Книжные шкафы", | ||||
|         "it": "Microbiblioteche" | ||||
|   "id": "public_bookcase", | ||||
|   "name": { | ||||
|     "en": "Bookcases", | ||||
|     "nl": "Boekenruilkastjes", | ||||
|     "de": "Bücherschränke", | ||||
|     "fr": "Microbibliothèque", | ||||
|     "ru": "Книжные шкафы", | ||||
|     "it": "Microbiblioteche" | ||||
|   }, | ||||
|   "description": { | ||||
|     "en": "A streetside cabinet with books, accessible to anyone", | ||||
|     "nl": "Een straatkastje met boeken voor iedereen", | ||||
|     "de": "Ein Bücherschrank am Straßenrand mit Büchern, für jedermann zugänglich", | ||||
|     "fr": "Une armoire ou une boite contenant des livres en libre accès", | ||||
|     "it": "Una vetrinetta ai bordi della strada contenente libri, aperta al pubblico", | ||||
|     "ru": "Уличный шкаф с книгами, доступными для всех" | ||||
|   }, | ||||
|   "source": { | ||||
|     "osmTags": "amenity=public_bookcase" | ||||
|   }, | ||||
|   "minzoom": 10, | ||||
|   "wayHandling": 2, | ||||
|   "title": { | ||||
|     "render": { | ||||
|       "en": "Bookcase", | ||||
|       "nl": "Boekenruilkast", | ||||
|       "de": "Bücherschrank", | ||||
|       "fr": "Microbibliothèque", | ||||
|       "ru": "Книжный шкаф", | ||||
|       "it": "Microbiblioteca" | ||||
|     }, | ||||
|     "description": { | ||||
|         "en": "A streetside cabinet with books, accessible to anyone", | ||||
|         "nl": "Een straatkastje met boeken voor iedereen", | ||||
|         "de": "Ein Bücherschrank am Straßenrand mit Büchern, für jedermann zugänglich", | ||||
|         "fr": "Une armoire ou une boite contenant des livres en libre accès", | ||||
|         "it": "Una vetrinetta ai bordi della strada contenente libri, aperta al pubblico", | ||||
|         "ru": "Уличный шкаф с книгами, доступными для всех" | ||||
|     }, | ||||
|     "source": { | ||||
|         "osmTags": "amenity=public_bookcase" | ||||
|     }, | ||||
|     "minzoom": 10, | ||||
|     "wayHandling": 2, | ||||
|     "title": { | ||||
|         "render": { | ||||
|             "en": "Bookcase", | ||||
|             "nl": "Boekenruilkast", | ||||
|             "de": "Bücherschrank", | ||||
|             "fr": "Microbibliothèque", | ||||
|             "ru": "Книжный шкаф", | ||||
|             "it": "Microbiblioteca" | ||||
|         }, | ||||
|         "mappings": [ | ||||
|             { | ||||
|                 "if": "name~*", | ||||
|                 "then": { | ||||
|                     "en": "Public bookcase <i>{name}</i>", | ||||
|                     "nl": "Boekenruilkast <i>{name}</i>", | ||||
|                     "de": "Öffentlicher Bücherschrank <i>{name}</i>", | ||||
|                     "fr": "Microbibliothèque <i>{name}</i>", | ||||
|                     "ru": "Общественный книжный шкаф <i>{name}</i>", | ||||
|                     "it": "Microbiblioteca pubblica <i>{name}</i>" | ||||
|                 } | ||||
|             } | ||||
|         ] | ||||
|     }, | ||||
|     "icon": { | ||||
|         "render": "./assets/themes/bookcases/bookcase.svg;" | ||||
|     }, | ||||
|     "label": { | ||||
|         "mappings": [ | ||||
|             { | ||||
|                 "if": "name~*", | ||||
|                 "then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>" | ||||
|             } | ||||
|         ] | ||||
|     }, | ||||
|     "color": { | ||||
|         "render": "#0000ff" | ||||
|     }, | ||||
|     "width": { | ||||
|         "render": "8" | ||||
|     }, | ||||
|     "presets": [ | ||||
|         { | ||||
|             "title": { | ||||
|                 "en": "Bookcase", | ||||
|                 "nl": "Boekenruilkast", | ||||
|                 "de": "Bücherschrank", | ||||
|                 "fr": "Microbibliothèque", | ||||
|                 "ru": "Книжный шкаф", | ||||
|                 "it": "Microbiblioteca" | ||||
|             }, | ||||
|             "tags": [ | ||||
|                 "amenity=public_bookcase" | ||||
|             ], | ||||
|             "preciseInput": { | ||||
|                 "preferredBackground": "photo" | ||||
|             } | ||||
|         } | ||||
|     ], | ||||
|     "tagRenderings": [ | ||||
|         "images", | ||||
|         { | ||||
|             "id": "minimap", | ||||
|             "render": "{minimap():height: 9rem; border-radius: 2.5rem; overflow:hidden;border:1px solid gray}" | ||||
|         }, | ||||
|         { | ||||
|             "render": { | ||||
|                 "en": "The name of this bookcase is {name}", | ||||
|                 "nl": "De naam van dit boekenruilkastje is {name}", | ||||
|                 "de": "Der Name dieses Bücherschrank lautet {name}", | ||||
|                 "fr": "Le nom de cette microbibliothèque est {name}", | ||||
|                 "ru": "Название книжного шкафа — {name}", | ||||
|                 "it": "Questa microbiblioteca si chiama {name}" | ||||
|             }, | ||||
|             "question": { | ||||
|                 "en": "What is the name of this public bookcase?", | ||||
|                 "nl": "Wat is de naam van dit boekenuilkastje?", | ||||
|                 "de": "Wie heißt dieser öffentliche Bücherschrank?", | ||||
|                 "fr": "Quel est le nom de cette microbibliothèque ?", | ||||
|                 "ru": "Как называется этот общественный книжный шкаф?", | ||||
|                 "it": "Come si chiama questa microbiblioteca pubblica?" | ||||
|             }, | ||||
|             "freeform": { | ||||
|                 "key": "name" | ||||
|             }, | ||||
|             "mappings": [ | ||||
|                 { | ||||
|                     "if": { | ||||
|                         "and": [ | ||||
|                             "noname=yes", | ||||
|                             "name=" | ||||
|                         ] | ||||
|                     }, | ||||
|                     "then": { | ||||
|                         "en": "This bookcase doesn't have a name", | ||||
|                         "nl": "Dit boekenruilkastje heeft geen naam", | ||||
|                         "de": "Dieser Bücherschrank hat keinen Namen", | ||||
|                         "fr": "Cette microbibliothèque n'a pas de nom", | ||||
|                         "ru": "У этого книжного шкафа нет названия", | ||||
|                         "it": "Questa microbiblioteca non ha un nome proprio" | ||||
|                     } | ||||
|                 } | ||||
|             ], | ||||
|             "id": "public_bookcase-name" | ||||
|         }, | ||||
|         { | ||||
|             "render": { | ||||
|                 "en": "{capacity} books fit in this bookcase", | ||||
|                 "nl": "Er passen {capacity} boeken", | ||||
|                 "de": "{capacity} Bücher passen in diesen Bücherschrank", | ||||
|                 "fr": "{capacity} livres peuvent entrer dans cette microbibliothèque", | ||||
|                 "it": "Questa microbiblioteca può contenere fino a {capacity} libri", | ||||
|                 "ru": "{capacity} книг помещается в этот книжный шкаф" | ||||
|             }, | ||||
|             "question": { | ||||
|                 "en": "How many books fit into this public bookcase?", | ||||
|                 "nl": "Hoeveel boeken passen er in dit boekenruilkastje?", | ||||
|                 "de": "Wie viele Bücher passen in diesen öffentlichen Bücherschrank?", | ||||
|                 "fr": "Combien de livres peuvent entrer dans cette microbibliothèque ?", | ||||
|                 "ru": "Сколько книг помещается в этом общественном книжном шкафу?", | ||||
|                 "it": "Quanti libri può contenere questa microbiblioteca?" | ||||
|             }, | ||||
|             "freeform": { | ||||
|                 "key": "capacity", | ||||
|                 "type": "nat", | ||||
|                 "inline": true | ||||
|             }, | ||||
|             "id": "public_bookcase-capacity" | ||||
|         }, | ||||
|         { | ||||
|             "id": "bookcase-booktypes", | ||||
|             "question": { | ||||
|                 "en": "What kind of books can be found in this public bookcase?", | ||||
|                 "nl": "Voor welke doelgroep zijn de meeste boeken in dit boekenruilkastje?", | ||||
|                 "de": "Welche Art von Büchern sind in diesem öffentlichen Bücherschrank zu finden?", | ||||
|                 "fr": "Quel type de livres peut-on dans cette microbibliothèque ?", | ||||
|                 "it": "Che tipo di libri si possono trovare in questa microbiblioteca?", | ||||
|                 "ru": "Какие книги можно найти в этом общественном книжном шкафу?" | ||||
|             }, | ||||
|             "mappings": [ | ||||
|                 { | ||||
|                     "if": "books=children", | ||||
|                     "then": { | ||||
|                         "en": "Mostly children books", | ||||
|                         "nl": "Voornamelijk kinderboeken", | ||||
|                         "de": "Vorwiegend Kinderbücher", | ||||
|                         "fr": "Livres pour enfants", | ||||
|                         "ru": "В основном детские книги", | ||||
|                         "it": "Principalmente libri per l'infanzia" | ||||
|                     } | ||||
|                 }, | ||||
|                 { | ||||
|                     "if": "books=adults", | ||||
|                     "then": { | ||||
|                         "en": "Mostly books for adults", | ||||
|                         "nl": "Voornamelijk boeken voor volwassenen", | ||||
|                         "de": "Vorwiegend Bücher für Erwachsene", | ||||
|                         "fr": "Livres pour les adultes", | ||||
|                         "ru": "В основном книги для взрослых", | ||||
|                         "it": "Principalmente libri per persone in età adulta" | ||||
|                     } | ||||
|                 }, | ||||
|                 { | ||||
|                     "if": "books=children;adults", | ||||
|                     "then": { | ||||
|                         "en": "Both books for kids and adults", | ||||
|                         "nl": "Boeken voor zowel kinderen als volwassenen", | ||||
|                         "de": "Sowohl Bücher für Kinder als auch für Erwachsene", | ||||
|                         "fr": "Livres pour enfants et adultes également", | ||||
|                         "it": "Sia libri per l'infanzia, sia per l'età adulta", | ||||
|                         "ru": "Книги и для детей, и для взрослых" | ||||
|                     } | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|         { | ||||
|             "id": "bookcase-is-indoors", | ||||
|             "question": { | ||||
|                 "en": "Is this bookcase located outdoors?", | ||||
|                 "nl": "Staat dit boekenruilkastje binnen of buiten?", | ||||
|                 "de": "Befindet sich dieser Bücherschrank im Freien?", | ||||
|                 "fr": "Cette microbiliothèque est-elle en extérieur ?", | ||||
|                 "it": "Questa microbiblioteca si trova all'aperto?" | ||||
|             }, | ||||
|             "mappings": [ | ||||
|                 { | ||||
|                     "then": { | ||||
|                         "en": "This bookcase is located indoors", | ||||
|                         "nl": "Dit boekenruilkastje staat binnen", | ||||
|                         "de": "Dieser Bücherschrank befindet sich im Innenbereich", | ||||
|                         "fr": "Cette microbibliothèque est en intérieur", | ||||
|                         "it": "Questa microbiblioteca si trova al chiuso" | ||||
|                     }, | ||||
|                     "if": "indoor=yes" | ||||
|                 }, | ||||
|                 { | ||||
|                     "then": { | ||||
|                         "en": "This bookcase is located outdoors", | ||||
|                         "nl": "Dit boekenruilkastje staat buiten", | ||||
|                         "de": "Dieser Bücherschrank befindet sich im Freien", | ||||
|                         "fr": "Cette microbibliothèque est en extérieur", | ||||
|                         "it": "Questa microbiblioteca si trova all'aperto" | ||||
|                     }, | ||||
|                     "if": "indoor=no" | ||||
|                 }, | ||||
|                 { | ||||
|                     "then": { | ||||
|                         "en": "This bookcase is located outdoors", | ||||
|                         "nl": "Dit boekenruilkastje staat buiten", | ||||
|                         "de": "Dieser Bücherschrank befindet sich im Freien", | ||||
|                         "fr": "Cette microbibliothèque est en extérieur", | ||||
|                         "it": "Questa microbiblioteca si trova all'aperto" | ||||
|                     }, | ||||
|                     "if": "indoor=", | ||||
|                     "hideInAnswer": true | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|         { | ||||
|             "id": "bookcase-is-accessible", | ||||
|             "question": { | ||||
|                 "en": "Is this public bookcase freely accessible?", | ||||
|                 "nl": "Is dit boekenruilkastje publiek toegankelijk?", | ||||
|                 "de": "Ist dieser öffentliche Bücherschrank frei zugänglich?", | ||||
|                 "fr": "Cette microbibliothèque est-elle librement accèssible ?", | ||||
|                 "it": "Questa microbiblioteca è ad accesso libero?", | ||||
|                 "ru": "Имеется ли свободный доступ к этому общественному книжному шкафу?" | ||||
|             }, | ||||
|             "condition": "indoor=yes", | ||||
|             "mappings": [ | ||||
|                 { | ||||
|                     "then": { | ||||
|                         "en": "Publicly accessible", | ||||
|                         "nl": "Publiek toegankelijk", | ||||
|                         "de": "Öffentlich zugänglich", | ||||
|                         "fr": "Accèssible au public", | ||||
|                         "it": "È ad accesso libero", | ||||
|                         "ru": "Свободный доступ" | ||||
|                     }, | ||||
|                     "if": "access=yes" | ||||
|                 }, | ||||
|                 { | ||||
|                     "then": { | ||||
|                         "en": "Only accessible to customers", | ||||
|                         "nl": "Enkel toegankelijk voor klanten", | ||||
|                         "de": "Nur für Kunden zugänglich", | ||||
|                         "fr": "Accèssible aux clients", | ||||
|                         "it": "L'accesso è riservato ai clienti" | ||||
|                     }, | ||||
|                     "if": "access=customers" | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|         { | ||||
|             "question": { | ||||
|                 "en": "Who maintains this public bookcase?", | ||||
|                 "nl": "Wie is verantwoordelijk voor dit boekenruilkastje?", | ||||
|                 "de": "Wer unterhält diesen öffentlichen Bücherschrank?", | ||||
|                 "fr": "Qui entretien cette microbibliothèque ?", | ||||
|                 "it": "Chi mantiene questa microbiblioteca?" | ||||
|             }, | ||||
|             "render": { | ||||
|                 "en": "Operated by {operator}", | ||||
|                 "nl": "Onderhouden door {operator}", | ||||
|                 "de": "Betrieben von {operator}", | ||||
|                 "fr": "Entretenue par {operator}", | ||||
|                 "it": "È gestita da {operator}" | ||||
|             }, | ||||
|             "freeform": { | ||||
|                 "type": "string", | ||||
|                 "key": "operator" | ||||
|             }, | ||||
|             "id": "public_bookcase-operator" | ||||
|         }, | ||||
|         { | ||||
|             "question": { | ||||
|                 "en": "Is this public bookcase part of a bigger network?", | ||||
|                 "nl": "Is dit boekenruilkastje deel van een netwerk?", | ||||
|                 "de": "Ist dieser öffentliche Bücherschrank Teil eines größeren Netzwerks?", | ||||
|                 "fr": "Cette microbibliothèque fait-elle partie d'un réseau/groupe ?", | ||||
|                 "it": "Questa microbiblioteca fa parte di una rete?" | ||||
|             }, | ||||
|             "render": { | ||||
|                 "en": "This public bookcase is part of {brand}", | ||||
|                 "nl": "Dit boekenruilkastje is deel van het netwerk {brand}", | ||||
|                 "de": "Dieser Bücherschrank ist Teil von {brand}", | ||||
|                 "fr": "Cette microbibliothèque fait partie du groupe {brand}", | ||||
|                 "it": "Questa microbiblioteca fa parte di {brand}" | ||||
|             }, | ||||
|             "condition": "ref=", | ||||
|             "freeform": { | ||||
|                 "key": "brand" | ||||
|             }, | ||||
|             "mappings": [ | ||||
|                 { | ||||
|                     "then": { | ||||
|                         "en": "Part of the network 'Little Free Library'", | ||||
|                         "nl": "Deel van het netwerk 'Little Free Library'", | ||||
|                         "de": "Teil des Netzwerks 'Little Free Library'", | ||||
|                         "fr": "Fait partie du réseau Little Free Library", | ||||
|                         "it": "Fa parte della rete 'Little Free Library'" | ||||
|                     }, | ||||
|                     "if": { | ||||
|                         "and": [ | ||||
|                             "brand=Little Free Library", | ||||
|                             "nobrand=" | ||||
|                         ] | ||||
|                     } | ||||
|                 }, | ||||
|                 { | ||||
|                     "if": { | ||||
|                         "and": [ | ||||
|                             "nobrand=yes", | ||||
|                             "brand=" | ||||
|                         ] | ||||
|                     }, | ||||
|                     "then": { | ||||
|                         "en": "This public bookcase is not part of a bigger network", | ||||
|                         "nl": "Dit boekenruilkastje maakt geen deel uit van een netwerk", | ||||
|                         "de": "Dieser öffentliche Bücherschrank ist nicht Teil eines größeren Netzwerks", | ||||
|                         "fr": "Cette microbibliothèque ne fait pas partie d'un réseau/groupe", | ||||
|                         "it": "Questa microbiblioteca non fa parte di una rete" | ||||
|                     } | ||||
|                 } | ||||
|             ], | ||||
|             "id": "public_bookcase-brand" | ||||
|         }, | ||||
|         { | ||||
|             "render": { | ||||
|                 "en": "The reference number of this public bookcase within {brand} is {ref}", | ||||
|                 "nl": "Het referentienummer binnen {brand} is {ref}", | ||||
|                 "de": "Die Referenznummer dieses öffentlichen Bücherschranks innerhalb {brand} lautet {ref}", | ||||
|                 "fr": "Cette microbibliothèque du réseau {brand} possède le numéro {ref}", | ||||
|                 "it": "Il numero identificativo di questa microbiblioteca nella rete {brand} è {ref}" | ||||
|             }, | ||||
|             "question": { | ||||
|                 "en": "What is the reference number of this public bookcase?", | ||||
|                 "nl": "Wat is het referentienummer van dit boekenruilkastje?", | ||||
|                 "de": "Wie lautet die Referenznummer dieses öffentlichen Bücherschranks?", | ||||
|                 "fr": "Quelle est le numéro de référence de cette microbibliothèque ?", | ||||
|                 "it": "Qual è il numero identificativo di questa microbiblioteca?" | ||||
|             }, | ||||
|             "condition": "brand~*", | ||||
|             "freeform": { | ||||
|                 "key": "ref" | ||||
|             }, | ||||
|             "mappings": [ | ||||
|                 { | ||||
|                     "then": { | ||||
|                         "en": "This bookcase is not part of a bigger network", | ||||
|                         "nl": "Dit boekenruilkastje maakt geen deel uit van een netwerk", | ||||
|                         "de": "Dieser Bücherschrank ist nicht Teil eines größeren Netzwerks", | ||||
|                         "fr": "Cette microbibliothèque ne fait pas partie d'un réseau/groupe", | ||||
|                         "it": "Questa microbiblioteca non fa parte di una rete" | ||||
|                     }, | ||||
|                     "if": { | ||||
|                         "and": [ | ||||
|                             "nobrand=yes", | ||||
|                             "brand=", | ||||
|                             "ref=" | ||||
|                         ] | ||||
|                     } | ||||
|                 } | ||||
|             ], | ||||
|             "id": "public_bookcase-ref" | ||||
|         }, | ||||
|         { | ||||
|             "question": { | ||||
|                 "en": "When was this public bookcase installed?", | ||||
|                 "nl": "Op welke dag werd dit boekenruilkastje geinstalleerd?", | ||||
|                 "de": "Wann wurde dieser öffentliche Bücherschrank installiert?", | ||||
|                 "fr": "Quand a été installée cette microbibliothèque ?", | ||||
|                 "it": "Quando è stata inaugurata questa microbiblioteca?", | ||||
|                 "ru": "Когда был установлен этот общественный книжный шкаф?" | ||||
|             }, | ||||
|             "render": { | ||||
|                 "en": "Installed on {start_date}", | ||||
|                 "nl": "Geplaatst op {start_date}", | ||||
|                 "de": "Installiert am {start_date}", | ||||
|                 "fr": "Installée le {start_date}", | ||||
|                 "it": "È stata inaugurata il {start_date}", | ||||
|                 "ru": "Установлен {start_date}" | ||||
|             }, | ||||
|             "freeform": { | ||||
|                 "key": "start_date", | ||||
|                 "type": "date" | ||||
|             }, | ||||
|             "id": "public_bookcase-start_date" | ||||
|         }, | ||||
|         { | ||||
|             "render": { | ||||
|                 "en": "More info on <a href='{website}' target='_blank'>the website</a>", | ||||
|                 "nl": "Meer info op <a href='{website}' target='_blank'>de website</a>", | ||||
|                 "de": "Weitere Informationen auf <a href='{website}' target='_blank'>der Webseite</a>", | ||||
|                 "fr": "Plus d'infos sur <a href='{website}' target='_blank'>le site web</a>", | ||||
|                 "ru": "Более подробная информация <a href='{website}' target='_blank'>на сайте</a>", | ||||
|                 "it": "Maggiori informazioni sul <a href='{website}' target='_blank'>sito web</a>" | ||||
|             }, | ||||
|             "question": { | ||||
|                 "en": "Is there a website with more information about this public bookcase?", | ||||
|                 "nl": "Is er een website over dit boekenruilkastje?", | ||||
|                 "de": "Gibt es eine Website mit weiteren Informationen über diesen öffentlichen Bücherschrank?", | ||||
|                 "fr": "Y a-t-il un site web avec plus d'informations sur cette microbibliothèque ?", | ||||
|                 "it": "C'è un sito web con maggiori informazioni su questa microbiblioteca?", | ||||
|                 "ru": "Есть ли веб-сайт с более подробной информацией об этом общественном книжном шкафе?" | ||||
|             }, | ||||
|             "freeform": { | ||||
|                 "key": "website", | ||||
|                 "type": "url" | ||||
|             }, | ||||
|             "id": "public_bookcase-website" | ||||
|         } | ||||
|     ], | ||||
|     "deletion": { | ||||
|         "softDeletionTags": { | ||||
|             "and": [ | ||||
|                 "disused:amenity=public_bookcase", | ||||
|                 "amenity=" | ||||
|             ] | ||||
|         }, | ||||
|         "neededChangesets": 5 | ||||
|     }, | ||||
|     "filter": [ | ||||
|         { | ||||
|             "id": "kid-books", | ||||
|             "options": [ | ||||
|                 { | ||||
|                     "question": "Kinderboeken aanwezig?", | ||||
|                     "osmTags": "books~.*children.*" | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|         { | ||||
|             "id": "adult-books", | ||||
|             "options": [ | ||||
|                 { | ||||
|                     "question": "Boeken voor volwassenen aanwezig?", | ||||
|                     "osmTags": "books~.*adults.*" | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|         { | ||||
|             "id": "inside", | ||||
|             "options": [ | ||||
|                 { | ||||
|                     "question": { | ||||
|                         "nl": "Binnen of buiten", | ||||
|                         "en": "Indoor or outdoor", | ||||
|                         "de": "Innen oder Außen" | ||||
|                     } | ||||
|                 }, | ||||
|                 { | ||||
|                     "question": "Binnen?", | ||||
|                     "osmTags": "indoor=yes" | ||||
|                 }, | ||||
|                 { | ||||
|                     "question": "Buiten?", | ||||
|                     "osmTags": { | ||||
|                         "or": [ | ||||
|                             "indoor=no", | ||||
|                             "indoor=" | ||||
|                         ] | ||||
|                     } | ||||
|                 } | ||||
|             ] | ||||
|     "mappings": [ | ||||
|       { | ||||
|         "if": "name~*", | ||||
|         "then": { | ||||
|           "en": "Public bookcase <i>{name}</i>", | ||||
|           "nl": "Boekenruilkast <i>{name}</i>", | ||||
|           "de": "Öffentlicher Bücherschrank <i>{name}</i>", | ||||
|           "fr": "Microbibliothèque <i>{name}</i>", | ||||
|           "ru": "Общественный книжный шкаф <i>{name}</i>", | ||||
|           "it": "Microbiblioteca pubblica <i>{name}</i>" | ||||
|         } | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   "icon": { | ||||
|     "render": "./assets/themes/bookcases/bookcase.svg;" | ||||
|   }, | ||||
|   "label": { | ||||
|     "mappings": [ | ||||
|       { | ||||
|         "if": "name~*", | ||||
|         "then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>" | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   "color": { | ||||
|     "render": "#0000ff" | ||||
|   }, | ||||
|   "width": { | ||||
|     "render": "8" | ||||
|   }, | ||||
|   "presets": [ | ||||
|     { | ||||
|       "title": { | ||||
|         "en": "Bookcase", | ||||
|         "nl": "Boekenruilkast", | ||||
|         "de": "Bücherschrank", | ||||
|         "fr": "Microbibliothèque", | ||||
|         "ru": "Книжный шкаф", | ||||
|         "it": "Microbiblioteca" | ||||
|       }, | ||||
|       "tags": [ | ||||
|         "amenity=public_bookcase" | ||||
|       ], | ||||
|       "preciseInput": { | ||||
|         "preferredBackground": "photo" | ||||
|       } | ||||
|     } | ||||
|   ], | ||||
|   "tagRenderings": [ | ||||
|     "images", | ||||
|     { | ||||
|       "id": "minimap", | ||||
|       "render": "{minimap():height: 9rem; border-radius: 2.5rem; overflow:hidden;border:1px solid gray}" | ||||
|     }, | ||||
|     { | ||||
|       "render": { | ||||
|         "en": "The name of this bookcase is {name}", | ||||
|         "nl": "De naam van dit boekenruilkastje is {name}", | ||||
|         "de": "Der Name dieses Bücherschrank lautet {name}", | ||||
|         "fr": "Le nom de cette microbibliothèque est {name}", | ||||
|         "ru": "Название книжного шкафа — {name}", | ||||
|         "it": "Questa microbiblioteca si chiama {name}" | ||||
|       }, | ||||
|       "question": { | ||||
|         "en": "What is the name of this public bookcase?", | ||||
|         "nl": "Wat is de naam van dit boekenuilkastje?", | ||||
|         "de": "Wie heißt dieser öffentliche Bücherschrank?", | ||||
|         "fr": "Quel est le nom de cette microbibliothèque ?", | ||||
|         "ru": "Как называется этот общественный книжный шкаф?", | ||||
|         "it": "Come si chiama questa microbiblioteca pubblica?" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "name" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": { | ||||
|             "and": [ | ||||
|               "noname=yes", | ||||
|               "name=" | ||||
|             ] | ||||
|           }, | ||||
|           "then": { | ||||
|             "en": "This bookcase doesn't have a name", | ||||
|             "nl": "Dit boekenruilkastje heeft geen naam", | ||||
|             "de": "Dieser Bücherschrank hat keinen Namen", | ||||
|             "fr": "Cette microbibliothèque n'a pas de nom", | ||||
|             "ru": "У этого книжного шкафа нет названия", | ||||
|             "it": "Questa microbiblioteca non ha un nome proprio" | ||||
|           } | ||||
|         } | ||||
|       ], | ||||
|       "id": "public_bookcase-name" | ||||
|     }, | ||||
|     { | ||||
|       "render": { | ||||
|         "en": "{capacity} books fit in this bookcase", | ||||
|         "nl": "Er passen {capacity} boeken", | ||||
|         "de": "{capacity} Bücher passen in diesen Bücherschrank", | ||||
|         "fr": "{capacity} livres peuvent entrer dans cette microbibliothèque", | ||||
|         "it": "Questa microbiblioteca può contenere fino a {capacity} libri", | ||||
|         "ru": "{capacity} книг помещается в этот книжный шкаф" | ||||
|       }, | ||||
|       "question": { | ||||
|         "en": "How many books fit into this public bookcase?", | ||||
|         "nl": "Hoeveel boeken passen er in dit boekenruilkastje?", | ||||
|         "de": "Wie viele Bücher passen in diesen öffentlichen Bücherschrank?", | ||||
|         "fr": "Combien de livres peuvent entrer dans cette microbibliothèque ?", | ||||
|         "ru": "Сколько книг помещается в этом общественном книжном шкафу?", | ||||
|         "it": "Quanti libri può contenere questa microbiblioteca?" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "capacity", | ||||
|         "type": "nat", | ||||
|         "inline": true | ||||
|       }, | ||||
|       "id": "public_bookcase-capacity" | ||||
|     }, | ||||
|     { | ||||
|       "id": "bookcase-booktypes", | ||||
|       "question": { | ||||
|         "en": "What kind of books can be found in this public bookcase?", | ||||
|         "nl": "Voor welke doelgroep zijn de meeste boeken in dit boekenruilkastje?", | ||||
|         "de": "Welche Art von Büchern sind in diesem öffentlichen Bücherschrank zu finden?", | ||||
|         "fr": "Quel type de livres peut-on dans cette microbibliothèque ?", | ||||
|         "it": "Che tipo di libri si possono trovare in questa microbiblioteca?", | ||||
|         "ru": "Какие книги можно найти в этом общественном книжном шкафу?" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "if": "books=children", | ||||
|           "then": { | ||||
|             "en": "Mostly children books", | ||||
|             "nl": "Voornamelijk kinderboeken", | ||||
|             "de": "Vorwiegend Kinderbücher", | ||||
|             "fr": "Livres pour enfants", | ||||
|             "ru": "В основном детские книги", | ||||
|             "it": "Principalmente libri per l'infanzia" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "if": "books=adults", | ||||
|           "then": { | ||||
|             "en": "Mostly books for adults", | ||||
|             "nl": "Voornamelijk boeken voor volwassenen", | ||||
|             "de": "Vorwiegend Bücher für Erwachsene", | ||||
|             "fr": "Livres pour les adultes", | ||||
|             "ru": "В основном книги для взрослых", | ||||
|             "it": "Principalmente libri per persone in età adulta" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "if": "books=children;adults", | ||||
|           "then": { | ||||
|             "en": "Both books for kids and adults", | ||||
|             "nl": "Boeken voor zowel kinderen als volwassenen", | ||||
|             "de": "Sowohl Bücher für Kinder als auch für Erwachsene", | ||||
|             "fr": "Livres pour enfants et adultes également", | ||||
|             "it": "Sia libri per l'infanzia, sia per l'età adulta", | ||||
|             "ru": "Книги и для детей, и для взрослых" | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "id": "bookcase-is-indoors", | ||||
|       "question": { | ||||
|         "en": "Is this bookcase located outdoors?", | ||||
|         "nl": "Staat dit boekenruilkastje binnen of buiten?", | ||||
|         "de": "Befindet sich dieser Bücherschrank im Freien?", | ||||
|         "fr": "Cette microbiliothèque est-elle en extérieur ?", | ||||
|         "it": "Questa microbiblioteca si trova all'aperto?" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "then": { | ||||
|             "en": "This bookcase is located indoors", | ||||
|             "nl": "Dit boekenruilkastje staat binnen", | ||||
|             "de": "Dieser Bücherschrank befindet sich im Innenbereich", | ||||
|             "fr": "Cette microbibliothèque est en intérieur", | ||||
|             "it": "Questa microbiblioteca si trova al chiuso" | ||||
|           }, | ||||
|           "if": "indoor=yes" | ||||
|         }, | ||||
|         { | ||||
|           "then": { | ||||
|             "en": "This bookcase is located outdoors", | ||||
|             "nl": "Dit boekenruilkastje staat buiten", | ||||
|             "de": "Dieser Bücherschrank befindet sich im Freien", | ||||
|             "fr": "Cette microbibliothèque est en extérieur", | ||||
|             "it": "Questa microbiblioteca si trova all'aperto" | ||||
|           }, | ||||
|           "if": "indoor=no" | ||||
|         }, | ||||
|         { | ||||
|           "then": { | ||||
|             "en": "This bookcase is located outdoors", | ||||
|             "nl": "Dit boekenruilkastje staat buiten", | ||||
|             "de": "Dieser Bücherschrank befindet sich im Freien", | ||||
|             "fr": "Cette microbibliothèque est en extérieur", | ||||
|             "it": "Questa microbiblioteca si trova all'aperto" | ||||
|           }, | ||||
|           "if": "indoor=", | ||||
|           "hideInAnswer": true | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "id": "bookcase-is-accessible", | ||||
|       "question": { | ||||
|         "en": "Is this public bookcase freely accessible?", | ||||
|         "nl": "Is dit boekenruilkastje publiek toegankelijk?", | ||||
|         "de": "Ist dieser öffentliche Bücherschrank frei zugänglich?", | ||||
|         "fr": "Cette microbibliothèque est-elle librement accèssible ?", | ||||
|         "it": "Questa microbiblioteca è ad accesso libero?", | ||||
|         "ru": "Имеется ли свободный доступ к этому общественному книжному шкафу?" | ||||
|       }, | ||||
|       "condition": "indoor=yes", | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "then": { | ||||
|             "en": "Publicly accessible", | ||||
|             "nl": "Publiek toegankelijk", | ||||
|             "de": "Öffentlich zugänglich", | ||||
|             "fr": "Accèssible au public", | ||||
|             "it": "È ad accesso libero", | ||||
|             "ru": "Свободный доступ" | ||||
|           }, | ||||
|           "if": "access=yes" | ||||
|         }, | ||||
|         { | ||||
|           "then": { | ||||
|             "en": "Only accessible to customers", | ||||
|             "nl": "Enkel toegankelijk voor klanten", | ||||
|             "de": "Nur für Kunden zugänglich", | ||||
|             "fr": "Accèssible aux clients", | ||||
|             "it": "L'accesso è riservato ai clienti" | ||||
|           }, | ||||
|           "if": "access=customers" | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "question": { | ||||
|         "en": "Who maintains this public bookcase?", | ||||
|         "nl": "Wie is verantwoordelijk voor dit boekenruilkastje?", | ||||
|         "de": "Wer unterhält diesen öffentlichen Bücherschrank?", | ||||
|         "fr": "Qui entretien cette microbibliothèque ?", | ||||
|         "it": "Chi mantiene questa microbiblioteca?" | ||||
|       }, | ||||
|       "render": { | ||||
|         "en": "Operated by {operator}", | ||||
|         "nl": "Onderhouden door {operator}", | ||||
|         "de": "Betrieben von {operator}", | ||||
|         "fr": "Entretenue par {operator}", | ||||
|         "it": "È gestita da {operator}" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "type": "string", | ||||
|         "key": "operator" | ||||
|       }, | ||||
|       "id": "public_bookcase-operator" | ||||
|     }, | ||||
|     { | ||||
|       "question": { | ||||
|         "en": "Is this public bookcase part of a bigger network?", | ||||
|         "nl": "Is dit boekenruilkastje deel van een netwerk?", | ||||
|         "de": "Ist dieser öffentliche Bücherschrank Teil eines größeren Netzwerks?", | ||||
|         "fr": "Cette microbibliothèque fait-elle partie d'un réseau/groupe ?", | ||||
|         "it": "Questa microbiblioteca fa parte di una rete?" | ||||
|       }, | ||||
|       "render": { | ||||
|         "en": "This public bookcase is part of {brand}", | ||||
|         "nl": "Dit boekenruilkastje is deel van het netwerk {brand}", | ||||
|         "de": "Dieser Bücherschrank ist Teil von {brand}", | ||||
|         "fr": "Cette microbibliothèque fait partie du groupe {brand}", | ||||
|         "it": "Questa microbiblioteca fa parte di {brand}" | ||||
|       }, | ||||
|       "condition": "ref=", | ||||
|       "freeform": { | ||||
|         "key": "brand" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "then": { | ||||
|             "en": "Part of the network 'Little Free Library'", | ||||
|             "nl": "Deel van het netwerk 'Little Free Library'", | ||||
|             "de": "Teil des Netzwerks 'Little Free Library'", | ||||
|             "fr": "Fait partie du réseau Little Free Library", | ||||
|             "it": "Fa parte della rete 'Little Free Library'" | ||||
|           }, | ||||
|           "if": { | ||||
|             "and": [ | ||||
|               "brand=Little Free Library", | ||||
|               "nobrand=" | ||||
|             ] | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "if": { | ||||
|             "and": [ | ||||
|               "nobrand=yes", | ||||
|               "brand=" | ||||
|             ] | ||||
|           }, | ||||
|           "then": { | ||||
|             "en": "This public bookcase is not part of a bigger network", | ||||
|             "nl": "Dit boekenruilkastje maakt geen deel uit van een netwerk", | ||||
|             "de": "Dieser öffentliche Bücherschrank ist nicht Teil eines größeren Netzwerks", | ||||
|             "fr": "Cette microbibliothèque ne fait pas partie d'un réseau/groupe", | ||||
|             "it": "Questa microbiblioteca non fa parte di una rete" | ||||
|           } | ||||
|         } | ||||
|       ], | ||||
|       "id": "public_bookcase-brand" | ||||
|     }, | ||||
|     { | ||||
|       "render": { | ||||
|         "en": "The reference number of this public bookcase within {brand} is {ref}", | ||||
|         "nl": "Het referentienummer binnen {brand} is {ref}", | ||||
|         "de": "Die Referenznummer dieses öffentlichen Bücherschranks innerhalb {brand} lautet {ref}", | ||||
|         "fr": "Cette microbibliothèque du réseau {brand} possède le numéro {ref}", | ||||
|         "it": "Il numero identificativo di questa microbiblioteca nella rete {brand} è {ref}" | ||||
|       }, | ||||
|       "question": { | ||||
|         "en": "What is the reference number of this public bookcase?", | ||||
|         "nl": "Wat is het referentienummer van dit boekenruilkastje?", | ||||
|         "de": "Wie lautet die Referenznummer dieses öffentlichen Bücherschranks?", | ||||
|         "fr": "Quelle est le numéro de référence de cette microbibliothèque ?", | ||||
|         "it": "Qual è il numero identificativo di questa microbiblioteca?" | ||||
|       }, | ||||
|       "condition": "brand~*", | ||||
|       "freeform": { | ||||
|         "key": "ref" | ||||
|       }, | ||||
|       "mappings": [ | ||||
|         { | ||||
|           "then": { | ||||
|             "en": "This bookcase is not part of a bigger network", | ||||
|             "nl": "Dit boekenruilkastje maakt geen deel uit van een netwerk", | ||||
|             "de": "Dieser Bücherschrank ist nicht Teil eines größeren Netzwerks", | ||||
|             "fr": "Cette microbibliothèque ne fait pas partie d'un réseau/groupe", | ||||
|             "it": "Questa microbiblioteca non fa parte di una rete" | ||||
|           }, | ||||
|           "if": { | ||||
|             "and": [ | ||||
|               "nobrand=yes", | ||||
|               "brand=", | ||||
|               "ref=" | ||||
|             ] | ||||
|           } | ||||
|         } | ||||
|       ], | ||||
|       "id": "public_bookcase-ref" | ||||
|     }, | ||||
|     { | ||||
|       "question": { | ||||
|         "en": "When was this public bookcase installed?", | ||||
|         "nl": "Op welke dag werd dit boekenruilkastje geinstalleerd?", | ||||
|         "de": "Wann wurde dieser öffentliche Bücherschrank installiert?", | ||||
|         "fr": "Quand a été installée cette microbibliothèque ?", | ||||
|         "it": "Quando è stata inaugurata questa microbiblioteca?", | ||||
|         "ru": "Когда был установлен этот общественный книжный шкаф?" | ||||
|       }, | ||||
|       "render": { | ||||
|         "en": "Installed on {start_date}", | ||||
|         "nl": "Geplaatst op {start_date}", | ||||
|         "de": "Installiert am {start_date}", | ||||
|         "fr": "Installée le {start_date}", | ||||
|         "it": "È stata inaugurata il {start_date}", | ||||
|         "ru": "Установлен {start_date}" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "start_date", | ||||
|         "type": "date" | ||||
|       }, | ||||
|       "id": "public_bookcase-start_date" | ||||
|     }, | ||||
|     { | ||||
|       "render": { | ||||
|         "en": "More info on <a href='{website}' target='_blank'>the website</a>", | ||||
|         "nl": "Meer info op <a href='{website}' target='_blank'>de website</a>", | ||||
|         "de": "Weitere Informationen auf <a href='{website}' target='_blank'>der Webseite</a>", | ||||
|         "fr": "Plus d'infos sur <a href='{website}' target='_blank'>le site web</a>", | ||||
|         "ru": "Более подробная информация <a href='{website}' target='_blank'>на сайте</a>", | ||||
|         "it": "Maggiori informazioni sul <a href='{website}' target='_blank'>sito web</a>" | ||||
|       }, | ||||
|       "question": { | ||||
|         "en": "Is there a website with more information about this public bookcase?", | ||||
|         "nl": "Is er een website over dit boekenruilkastje?", | ||||
|         "de": "Gibt es eine Website mit weiteren Informationen über diesen öffentlichen Bücherschrank?", | ||||
|         "fr": "Y a-t-il un site web avec plus d'informations sur cette microbibliothèque ?", | ||||
|         "it": "C'è un sito web con maggiori informazioni su questa microbiblioteca?", | ||||
|         "ru": "Есть ли веб-сайт с более подробной информацией об этом общественном книжном шкафе?" | ||||
|       }, | ||||
|       "freeform": { | ||||
|         "key": "website", | ||||
|         "type": "url" | ||||
|       }, | ||||
|       "id": "public_bookcase-website" | ||||
|     } | ||||
|   ], | ||||
|   "allowMove": true, | ||||
|   "deletion": { | ||||
|     "softDeletionTags": { | ||||
|       "and": [ | ||||
|         "disused:amenity=public_bookcase", | ||||
|         "amenity=" | ||||
|       ] | ||||
|     }, | ||||
|     "neededChangesets": 5 | ||||
|   }, | ||||
|   "filter": [ | ||||
|     { | ||||
|       "id": "kid-books", | ||||
|       "options": [ | ||||
|         { | ||||
|           "question": "Kinderboeken aanwezig?", | ||||
|           "osmTags": "books~.*children.*" | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "id": "adult-books", | ||||
|       "options": [ | ||||
|         { | ||||
|           "question": "Boeken voor volwassenen aanwezig?", | ||||
|           "osmTags": "books~.*adults.*" | ||||
|         } | ||||
|       ] | ||||
|     }, | ||||
|     { | ||||
|       "id": "inside", | ||||
|       "options": [ | ||||
|         { | ||||
|           "question": { | ||||
|             "nl": "Binnen of buiten", | ||||
|             "en": "Indoor or outdoor", | ||||
|             "de": "Innen oder Außen" | ||||
|           } | ||||
|         }, | ||||
|         { | ||||
|           "question": "Binnen?", | ||||
|           "osmTags": "indoor=yes" | ||||
|         }, | ||||
|         { | ||||
|           "question": "Buiten?", | ||||
|           "osmTags": { | ||||
|             "or": [ | ||||
|               "indoor=no", | ||||
|               "indoor=" | ||||
|             ] | ||||
|           } | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   ] | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue