Consistently set default background PDFs on server, not client (#2840)

Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
Raphael Michel
2022-10-06 14:14:56 +02:00
committed by GitHub
co-authored by Martin Gross
parent b5bd98336a
commit c4b7aeaaa2
6 changed files with 72 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ RES_LAYOUT = {
'default': True,
'item_assignments': [{'item': 1}],
'layout': [{'a': 2}],
'background': None
'background': 'http://example.com/static/pretixplugins/badges/badge_default_a6l.pdf'
}
@@ -52,7 +52,7 @@ RES_LAYOUT = {
'default': True,
'item_assignments': [{'item': 1, 'sales_channel': 'web'}],
'layout': [{'a': 2}],
'background': None
'background': 'http://example.com/static/pretixpresale/pdf/ticket_default_a4.pdf'
}