UPD: adjusted wording to the new status workflow.
This commit is contained in:
@@ -76,12 +76,12 @@ class AbstractEventMail(AbstractMail):
|
||||
return context
|
||||
|
||||
|
||||
class NewEventMail(AbstractEventMail):
|
||||
_template_name = 'dav_events/emails/new_event.txt'
|
||||
class EventSubmittedMail(AbstractEventMail):
|
||||
_template_name = 'dav_events/emails/event_submitted.txt'
|
||||
|
||||
def _get_subject(self, **kwargs):
|
||||
s = super(NewEventMail, self)._get_subject(**kwargs)
|
||||
s += u'Neue Veranstaltung angelegt'
|
||||
s = super(EventSubmittedMail, self)._get_subject(**kwargs)
|
||||
s += u'Neue Veranstaltung eingereicht'
|
||||
return s
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user