diff --git a/assets/layers/filters/filters.json b/assets/layers/filters/filters.json index 4b1f6edad..1f9abce81 100644 --- a/assets/layers/filters/filters.json +++ b/assets/layers/filters/filters.json @@ -55,6 +55,28 @@ } ] }, + { + "id": "accepts_debit_cards", + "options": [ + { + "osmTags": "payment:debit_cards=yes", + "question": { + "en": "Accepts debit cards" + } + } + ] + }, + { + "id": "accepts_credit_cards", + "options": [ + { + "osmTags": "payment:credit_cards=yes", + "question": { + "en": "Accepts credit cards" + } + } + ] + }, { "id": "has_image", "options": [ diff --git a/assets/layers/questions/questions.json b/assets/layers/questions/questions.json index 3774c0a91..678b0b402 100644 --- a/assets/layers/questions/questions.json +++ b/assets/layers/questions/questions.json @@ -2174,6 +2174,33 @@ } } ] + }, + { + "id": "check_date", + "question": { + "en": "When was this object last checked?", + "de": "Wann wurde dieses Objekt zuletzt kontrolliert?", + "nl": "Wanneer is dit object voor het laatst gecontroleerd?" + }, + "freeform": { + "key": "check_date", + "type": "date" + }, + "render": { + "en": "This object was last checked on {check_date}", + "de": "Dieses Objekt wurde zuletzt kontrolliert am {check_date}", + "nl": "Dit object is voor het laatst gecontroleerd op {check_date}" + }, + "mappings": [ + { + "if": "check_date:={_now:date}", + "then": { + "en": "This object was last checked today", + "de": "Dieses Objekt wurde heute zuletzt kontrolliert", + "nl": "Dit object is vandaag voor het laatst gecontroleerd" + } + } + ] } ] } \ No newline at end of file diff --git a/assets/themes/elongated_coin/elongated_coin.json b/assets/themes/elongated_coin/elongated_coin.json index 627ce25b4..9ad55da16 100644 --- a/assets/themes/elongated_coin/elongated_coin.json +++ b/assets/themes/elongated_coin/elongated_coin.json @@ -86,6 +86,7 @@ } ] }, + "payment-options-split", { "id": "coin", "question": { @@ -205,7 +206,8 @@ } ] }, - "level" + "level", + "check_date" ], "mapRendering": [ { @@ -235,8 +237,15 @@ ] } ], + "allowMove": { + "enableImproveAccuracy": true, + "enableRelocation": true + }, + "deletion": true, "filter": [ - "open_now" + "open_now", + "accepts_debit_cards", + "accepts_credit_cards" ] } ],