From 420beed018c1220fb11e9368a0fecefa6e8958c3 Mon Sep 17 00:00:00 2001 From: "Andreas (@xAndy) Zimmermann" Date: Mon, 8 May 2023 23:49:37 +0200 Subject: [PATCH] improve shift reminder wordingt --- 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 60b8868..2dc4def 100644 --- a/shiftregister/app/models.py +++ b/shiftregister/app/models.py @@ -140,7 +140,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 Treffpunkt. https://helfen.kntkt.de{{ url }}' + 'Deine kontakt-Schicht beginnt um {{ start_at|date:"H:i" }}, bitte komm 15 Minuten vorher an den Infopoint. https://helfen.kntkt.de{{ url }}' ) text = template.render(Context({"start_at": self.shift.start_at, "url": url})) msg = Message(to=self.helper, text=text)