Add no_text options
This commit is contained in:
parent
36bdee3689
commit
2892a7dc25
5 changed files with 8 additions and 8 deletions
|
@ -85,7 +85,7 @@ class HldsSemanticActions:
|
|||
name=ast["name"],
|
||||
description=ast["description"],
|
||||
price=ast["price"] or 0,
|
||||
tags=ast["tags"],
|
||||
tags=ast["tags"] or [],
|
||||
)
|
||||
|
||||
noindent_choice_entry = indent_choice_entry
|
||||
|
|
|
@ -170,7 +170,7 @@ def order_item_create(order_id: int) -> typing.Any:
|
|||
return option.name
|
||||
except AttributeError:
|
||||
return ", ".join(o.name for o in option)
|
||||
comments = [_name(option) for option in chosen if option]
|
||||
comments = [_name(option) for option in chosen if option and "no_text" not in option.tags]
|
||||
if item.comment:
|
||||
comments.append("Comment: " + item.comment)
|
||||
item.comment = "; ".join(comments)
|
||||
|
|
|
@ -16,7 +16,7 @@ bowl_wrap: Bowl of wrap
|
|||
red_beet_wrap: Rodebietenwrap € 0.99
|
||||
|
||||
veggie: Vegetarische opties
|
||||
meat: Niet vegetarisch :: {has_meat}
|
||||
meat: Niet vegetarisch :: {has_meat} {no_text}
|
||||
tofu: Vegetarisch met tofu
|
||||
tempeh: Vegetarisch met tempeh -- Gekruide tempeh
|
||||
avocado: Vegetarisch met avocado
|
||||
|
@ -24,7 +24,7 @@ veggie: Vegetarische opties
|
|||
vegan: Veganistisch
|
||||
|
||||
veggie_on_veggie_dish: Vegetarische opties
|
||||
veggie: Vegetarisch (met standaard eiwitgerief van gerecht)
|
||||
veggie: Vegetarisch (met standaard eiwitgerief van gerecht) :: {no_text}
|
||||
tofu: Vegetarisch met tofu
|
||||
tempeh: Vegetarisch met tempeh -- Gekruide tempeh
|
||||
avocado: Vegetarisch met avocado
|
||||
|
@ -32,7 +32,7 @@ veggie_on_veggie_dish: Vegetarische opties
|
|||
vegan: Veganistisch
|
||||
|
||||
veggie_on_vegan_dish: Vegetarische opties
|
||||
vegan: Veganistisch
|
||||
vegan: Veganistisch :: {no_text}
|
||||
tofu: Vegetarisch met tofu
|
||||
tempeh: Vegetarisch met tempeh -- Gekruide tempeh
|
||||
avocado: Vegetarisch met avocado
|
||||
|
|
|
@ -28,8 +28,8 @@ sauce: Saus
|
|||
other: Andere (in commentaar)
|
||||
|
||||
extra_cheese: Extra kaas
|
||||
no_extra_cheese: Nee
|
||||
yes_extra_cheese: Ja € 0.2
|
||||
no_extra_cheese: Geen extra kaas :: {no_text}
|
||||
yes_extra_cheese: Extra kaas € 0.2
|
||||
|
||||
dish chicken_fingers: Kippenvingers :: {has_meat} € 3
|
||||
dish nuggiz: Nuggiz :: {has_meat} € 3
|
||||
|
|
|
@ -22,7 +22,7 @@ size: Grootte
|
|||
large: Large -- 37 cm € 15.95
|
||||
|
||||
garlic_sauce: Looksaus
|
||||
no_garlic_sauce: Zonder looksaus
|
||||
no_garlic_sauce: Geen extra looksaus :: {no_text}
|
||||
yes_garlic_sauce: Met looksaus (prijs onzeker) € 0.75
|
||||
|
||||
dish margherita: Pizza margherita -- Veggie
|
||||
|
|
Loading…
Reference in a new issue