diff --git a/assets/layers/hut/hut.json b/assets/layers/hut/hut.json index 8f641e211..8ebb80836 100644 --- a/assets/layers/hut/hut.json +++ b/assets/layers/hut/hut.json @@ -121,7 +121,19 @@ "tagRenderings": [ "images", "name", - "website", + { + "builtin": "website", + "override": { + "condition": "tourism=wilderness_hut", + "id": "website-single" + } + }, + { + "builtin": "contact", + "override": { + "condition": "tourism=alpine_hut" + } + }, "reservation", "caravansites.caravansites-fee", { @@ -151,116 +163,15 @@ "render": "{preset_type_select()}" }, { - "id": "shelter-type", - "question": { - "en": "What kind of shelter is this?", - "ca": "Quin tipus de refugi és aquest?", - "cs": "Co je to za přístřešek?", - "de": "Um welche Art von Unterstand handelt es sich?", - "es": "¿Qué tipo de refugio es este?", - "it": "Che tipo di riparo è questo?", - "nl": "Wat voor schuilplaats is dit?", - "uk": "Що це за притулок?" - }, - "render": { - "en": "Shelter type: {shelter_type}", - "ca": "Tipus de refugi: {shelter_type}", - "cs": "Typ přístřešku: {shelter_type}", - "de": "Art des Unterstands: {shelter_type}", - "es": "Tipo de refugio: {shelter_type}", - "it": "Tipo di riparo: {shelter_type}", - "uk": "Тип притулку: {shelter_type}" - }, - "freeform": { - "key": "shelter_type", - "type": "string" - }, - "condition": { - "and": [ - "amenity=shelter", - "shelter_type=basic_hut" - ] - }, - "mappings": [ - { - "if": "shelter_type=public_transport", - "then": { - "en": "This is a shelter at a public transport stop.", - "ca": "Es tracta d'un refugi en una parada de transport públic.", - "cs": "Jedná se o přístřešek u zastávky MHD.", - "de": "Das ist ein Unterstand an einer Haltestelle für öffentliche Verkehrsmittel.", - "es": "Este es un refugio en una parada de transporte público.", - "it": "Questo è un riparo presso una fermata del trasporto pubblico.", - "nl": "Dit is een schuilplaats bij een halte voor openbaar vervoer.", - "uk": "Це притулок на зупинці громадського транспорту." - } - }, - { - "if": "shelter_type=picnic_shelter", - "then": { - "en": "This is a shelter protecting from rain at a picnic site.", - "ca": "Es tracta d'un refugi que protegeix de la pluja en un lloc de pícnic.", - "cs": "Jedná se o přístřešek chránící před deštěm na piknikovém místě.", - "de": "Dies ist ein Unterstand zum Schutz vor Regen auf einem Picknickplatz.", - "es": "Este es un refugio que protege de la lluvia en un área de picnic.", - "it": "Questo è un riparo che protegge dalla pioggia in un'area picnic.", - "uk": "Це накриття, щ�� захищає від дощу на місці для пікніка." - } - }, - { - "if": "shelter_type=gazebo", - "then": { - "en": "This is a gazebo.", - "ca": "Això és una glorieta.", - "cs": "Toto je altán.", - "de": "Das ist ein offener Gartenpavillon.", - "es": "Este es un cenador.", - "it": "Questo è un gazebo.", - "uk": "Це альтанка." - } - }, - { - "if": "shelter_type=weather_shelter", - "then": { - "en": "This is a small shelter, primarily intended for short breaks. Usually found in the mountains or alongside roads.", - "ca": "Es tracta d'un petit refugi, principalment destinat a descansos curts. Normalment es troba a les muntanyes o al costat de les carreteres.", - "cs": "Jedná se o malý přístřešek, primárně určený pro krátké přestávky. Obvykle se vyskytuje v horách nebo podél silnic.", - "de": "Dies ist ein kleiner Unterstand, der vor allem für kurze Pausen gedacht ist. Normalerweise findet man ihn in Bergen oder an Straßen.", - "es": "Este es un refugio pequeño, principalmente destinado a descansos cortos. Normalmente se encuentra en las montañas o al lado de las carreteras.", - "it": "Questo è un piccolo riparo, principalmente destinato a brevi pause. Si trova solitamente in montagna o lungo le strade.", - "uk": "Це невеликий притулок, призначений насамперед для коротких перерв. Зазвичай знаходиться в горах або вздовж доріг." - } - }, - { - "if": "shelter_type=lean_to", - "then": { - "en": "This is a shed with 3 walls, primarily intended for camping.", - "ca": "Es tracta d'un cobert amb 3 parets, destinat principalment a l'acampada.", - "cs": "Jedná se o přístřešek se 3 stěnami, primárně určený pro kempování.", - "da": "Dette er et skur med 3 vægge, primært beregnet til camping.", - "de": "Es handelt sich um einen an 3 Seiten geschlossenen Unterstand, der in erster Linie zum Campen gedacht ist.", - "es": "Este es un cobertizo con 3 paredes, principalmente destinado para acampar.", - "it": "Questa è una tettoia con 3 pareti, principalmente destinata al campeggio.", - "uk": "Це сарай з 3-ма стінами, в першу чергу призначений для кемпінгу." - } - }, - { - "if": "shelter_type=pavilion", - "then": { - "en": "This is a pavilion", - "ca": "Aquest és un pavelló", - "cs": "Toto je pavilon", - "de": "Das ist ein Pavillon", - "es": "Este es un pabellón", - "it": "Questo è un padiglione", - "uk": "Це павільйон" - } - }, - { - "if": "shelter_type=basic_hut", - "then": "This is a basic hut, providing basic shelter and sleeping facilities." + "builtin": "shelter.shelter-type", + "override": { + "condition": { + "and": [ + "amenity=shelter", + "shelter_type=basic_hut" + ] } - ] + } } ], "filter":[