diff --git a/src/pretix/control/templates/pretixcontrol/pdf/index.html b/src/pretix/control/templates/pretixcontrol/pdf/index.html index c258bab304..e829f9adb3 100644 --- a/src/pretix/control/templates/pretixcontrol/pdf/index.html +++ b/src/pretix/control/templates/pretixcontrol/pdf/index.html @@ -204,6 +204,14 @@ {% endblocktrans %}

+
+

+ + + {% trans "Download current background" %} + +

+
diff --git a/src/pretix/static/pretixcontrol/js/ui/editor.js b/src/pretix/static/pretixcontrol/js/ui/editor.js index 372b09211e..2f5fdb44f0 100644 --- a/src/pretix/static/pretixcontrol/js/ui/editor.js +++ b/src/pretix/static/pretixcontrol/js/ui/editor.js @@ -827,6 +827,7 @@ var editor = { d = editor.dump(); editor.fabric.dispose(); editor._load_pdf(d); + $(".background-download-button").attr("href", url); }, _source_show: function () {