improve shift reminder wordingt
This commit is contained in:
parent
84e944ae67
commit
420beed018
|
@ -140,7 +140,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 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}))
|
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)
|
||||||
|
|
Loading…
Reference in New Issue