From da2820c942ebf0d041d3eb49fa1fea900cc7a2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Mon, 9 Mar 2026 11:12:39 +0100 Subject: [PATCH] gastro: read type-filter values from 'const' --- gastro.yaml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/gastro.yaml b/gastro.yaml index e4f1771..6927ab7 100644 --- a/gastro.yaml +++ b/gastro.yaml @@ -59,17 +59,10 @@ filter: {{ trans('filter:type') }} type: select show_default: true - values: - - bar - - biergarten - - cafe - - fast_food - - food_court - - ice_cream - - pub - - restaurant - - canteen - - nightclub + values: | + {% for k, icon in const.type %} + + {% endfor %} valueName: | {{ tagTrans('amenity', value) }} op: 'has' @@ -243,3 +236,5 @@ const: ice_cream: '🍨' pub: '🍺' nightclub: '' + food_court: null + canteen: null