From ab249df9ffef138931f27d3a379cd3f6eecb68a0 Mon Sep 17 00:00:00 2001 From: "Andreas (@xAndy) Zimmermann" Date: Wed, 17 May 2023 23:58:57 +0200 Subject: [PATCH] improve shift reminder text --- shiftregister/app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiftregister/app/models.py b/shiftregister/app/models.py index 70fc6ff..222cfc0 100644 --- a/shiftregister/app/models.py +++ b/shiftregister/app/models.py @@ -144,7 +144,7 @@ class ShiftRegistration(models.Model): def send_reminder(self): url = reverse("shift", kwargs={"shiftid": self.shift.pk}) template = Template( - 'Deine kontakt-Schicht beginnt um {{ start_at|date:"H:i" }}, bitte komm 15 Minuten vorher an den Infopoint. https://helfen.kntkt.de{{ url }}' + 'Deine Schicht beginnt um {{ start_at|date:"H:i" }}, bitte komm 15 Minuten vorher an den Infopoint {{ url }} Du kommst ab jetzt ohne Anstehen aufs Gelände' ) text = template.render(Context({"start_at": self.shift.start_at, "url": url})) msg = Message(to=self.helper, text=text)