WIP: i18n editor, start apple wallet generation

This commit is contained in:
Kara Engelhardt
2026-07-28 11:30:49 +02:00
parent cda773ddd9
commit 38be28d64d
10 changed files with 689 additions and 62 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class WalletLayoutSerializer(I18nAwareModelSerializer):
style = platform_styles[data["style"]]
layout = PassLayout(style=style, layout=data["layout"])
context = {"placeholders": {k: list(v.keys()) for k,v in get_layout_variables(self.context['event']).items()}}
context = {"placeholders": {k: {"content": v['content']} for k,v in get_layout_variables(self.context['event']).items()}}
layout.validate(context=context)
return data