From fb716eb4985df8affb075726bacb1abd3dba34f5 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 22 May 2017 14:03:57 +0200 Subject: [PATCH] Add add-ons to ticket editor --- .../static/pretixplugins/ticketoutputpdf/editor.js | 3 ++- .../templates/pretixplugins/ticketoutputpdf/index.html | 1 + src/pretix/plugins/ticketoutputpdf/ticketoutput.py | 7 ++++++- src/pretix/plugins/ticketoutputpdf/views.py | 3 +++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/editor.js b/src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/editor.js index 308e3b2716..f36475899d 100644 --- a/src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/editor.js +++ b/src/pretix/plugins/ticketoutputpdf/static/pretixplugins/ticketoutputpdf/editor.js @@ -165,7 +165,8 @@ var editor = { "event_admission_time": gettext("19:00"), "event_begin": gettext("2017-05-31 20:00"), "event_admission": gettext("2017-05-31 19:00"), - "event_location": gettext("Random City") + "event_location": gettext("Random City"), + "addons": gettext("Addon 1\nAddon 2"), }, _load_pdf: function (dump) { diff --git a/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/index.html b/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/index.html index 01b2f5ad64..0920672c19 100644 --- a/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/index.html +++ b/src/pretix/plugins/ticketoutputpdf/templates/pretixplugins/ticketoutputpdf/index.html @@ -272,6 +272,7 @@ +