From 4235c42463c9dc34d31f11aa0a88e0ce9c5de88e Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 8 Apr 2022 21:53:29 +0200 Subject: [PATCH] Add bicycle_rental questions to bike shops --- assets/layers/bicycle_rental/bicycle_rental.json | 8 ++++++-- assets/layers/bike_shop/bike_shop.json | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/assets/layers/bicycle_rental/bicycle_rental.json b/assets/layers/bicycle_rental/bicycle_rental.json index df4f18dd5a..df070f56b2 100644 --- a/assets/layers/bicycle_rental/bicycle_rental.json +++ b/assets/layers/bicycle_rental/bicycle_rental.json @@ -143,7 +143,9 @@ }, { "id": "bicycle-types", - "group": "bicycle_rental", + "labels": [ + "bicycle_rental" + ], "question": { "en": "What kind of bicycles and accessories are rented here?", "nl": "Wat voor soort fietsen en fietstoebehren worden hier verhuurd?" @@ -270,7 +272,9 @@ "renderings": [ { "id": "rental-capacity-bicycle-type", - "group": "bicycle_rental", + "labels": [ + "bicycle_rental" + ], "question": { "en": "How much type_plural can be rented here? ", "nl": "Hoeveel type_plural kunnen hier uitgeleend worden?" diff --git a/assets/layers/bike_shop/bike_shop.json b/assets/layers/bike_shop/bike_shop.json index b6c4f82072..277d1bb898 100644 --- a/assets/layers/bike_shop/bike_shop.json +++ b/assets/layers/bike_shop/bike_shop.json @@ -308,7 +308,6 @@ "id": "bike_shop-email" }, "opening_hours", - "description", { "render": { "en": "Only accessible to {access}", @@ -436,6 +435,7 @@ ] }, { + "#": "Remark: we steal the 'bicycle_rental' questions from the other layer. They'll get the condition of their source automatically!", "id": "bike_repair_rents-bikes", "question": { "en": "Does this shop rent out bikes?", @@ -479,6 +479,7 @@ } ] }, + "bicycle_rental.*bicycle_rental", { "id": "bike_repair_second-hand-bikes", "question": { @@ -669,7 +670,8 @@ } ] }, - "bike_cleaning.bike_cleaning-service:bicycle:cleaning:charge" + "bike_cleaning.bike_cleaning-service:bicycle:cleaning:charge", + "description" ], "presets": [ {