Fix important information for volunteers

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-01 19:01:17 +02:00
parent dba937fb03
commit 6ce179bd60
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 2 additions and 2 deletions

View File

@ -518,8 +518,8 @@ class VolunteerRegistration(Registration):
text = _("<p>The draw of the solutions for the tournament {tournament} is planned on the "
"{date:%Y-%m-%d %H:%M}. You can join it on <a href='{url}'>this link</a>.</p>")
url = reverse_lazy("draw:index")
content = format_lazy(text, tournament=self.tournament.name,
date=localtime(self.tournament.solutions_draw),
content = format_lazy(text, tournament=tournament.name,
date=localtime(tournament.solutions_draw),
url=url)
informations.append({
'title': _("Draw of solutions"),