2
0
Fork 0

improve shift reminder text

This commit is contained in:
Andreas (@xAndy) Zimmermann 2023-05-17 23:58:57 +02:00
parent bf790d4073
commit ab249df9ff
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class ShiftRegistration(models.Model):
def send_reminder(self): def send_reminder(self):
url = reverse("shift", kwargs={"shiftid": self.shift.pk}) url = reverse("shift", kwargs={"shiftid": self.shift.pk})
template = Template( 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})) text = template.render(Context({"start_at": self.shift.start_at, "url": url}))
msg = Message(to=self.helper, text=text) msg = Message(to=self.helper, text=text)