mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Consistently set default background PDFs on server, not client (#2840)
Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user