From af7d4e86db26197084787e34934378161dec67f9 Mon Sep 17 00:00:00 2001 From: Jan Losinski Date: Mon, 21 Jan 2019 16:36:15 +0100 Subject: [PATCH] Add email templates --- punkow/service/email_templates/cancel.txt | 8 ++++++++ punkow/service/email_templates/confirmation.txt | 6 ++++++ punkow/service/email_templates/success.txt | 15 +++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 punkow/service/email_templates/cancel.txt create mode 100644 punkow/service/email_templates/confirmation.txt create mode 100644 punkow/service/email_templates/success.txt diff --git a/punkow/service/email_templates/cancel.txt b/punkow/service/email_templates/cancel.txt new file mode 100644 index 0000000..c766a5e --- /dev/null +++ b/punkow/service/email_templates/cancel.txt @@ -0,0 +1,8 @@ +Your punkow request was cancelled. + +You can review the details at: +{{ base_url }}/{{ req_key }} + +You can try to insert a new request. + +Have a nice day. \ No newline at end of file diff --git a/punkow/service/email_templates/confirmation.txt b/punkow/service/email_templates/confirmation.txt new file mode 100644 index 0000000..698e82f --- /dev/null +++ b/punkow/service/email_templates/confirmation.txt @@ -0,0 +1,6 @@ +Punkow started to book an appointment for you. + +You can review or cancel your request at: +{{ base_url }}/{{ req_key }} + +Good luck! diff --git a/punkow/service/email_templates/success.txt b/punkow/service/email_templates/success.txt new file mode 100644 index 0000000..210cc90 --- /dev/null +++ b/punkow/service/email_templates/success.txt @@ -0,0 +1,15 @@ +Punkow booked your appointment! + +The details are: +{% for key,value in meta.items() %} +{{ key }}: {{ value }} +{% endfor %} + +You can change or cancel the appointment at: +{{ change_url }} + +To do so, you need this data: +Vorgangsnummer: {{ process_id }} +Code: {{ auth_code }} + +Have a nice day! \ No newline at end of file