WIP: i18n editor, start apple wallet generation

This commit is contained in:
Kara Engelhardt
2026-08-11 09:54:14 +02:00
parent f6614d49c2
commit 863d147ffa
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