mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-13 22:26:01 +00:00
Add unknown event translation
This commit is contained in:
1 parent
bafa9ac10c
commit
677c50a4b1
3 files changed
+61
-58
No files matched your search
+1
-1
@@ -301,7 +301,7 @@ class Selling(models.Model):
|
||||
super(Selling, self).delete(*args, **kwargs)
|
||||
|
||||
def send_mail_customer(self):
|
||||
event = self.product.eticket.event_title
|
||||
event = self.product.eticket.event_title or _("Unknown event")
|
||||
subject = _('Eticket bought for the event %(event)s') % {'event': event}
|
||||
message_html = _(
|
||||
"You bought an eticket for the event %(event)s.\nYou can download it on this page %(url)s."
|
||||
|
||||
Reference in new issue
Block a user