WIP preview

This commit is contained in:
Kara Engelhardt
2026-07-28 11:30:50 +02:00
parent 3c727c230a
commit 3b52a0703f
10 changed files with 167 additions and 64 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from .base import PassStyle, PredefinedFieldGroup, TextFieldGroup, WalletPlatform
from .base import FieldGroupDisplay, PassStyle, PredefinedFieldGroup, TextFieldGroup, WalletPlatform
from django.utils.translation import gettext_lazy as _
class GooglePlatform(WalletPlatform):
@@ -16,5 +16,5 @@ class GoogleWalletEventTicket(PassStyle):
platform = GooglePlatform
fieldgroups = [
PredefinedFieldGroup(identifier="seating", name=_("Seating")),
TextFieldGroup(identifier="qrcode", name=_("QR-Code"), labels=False),
TextFieldGroup(identifier="qrcode", name=_("QR-Code"), display=FieldGroupDisplay.PLAIN),
]