def job_reminder(emails, job, participants): contact = job.type.activityarea.coordinator.get_name() + ': ' + job.type.activityarea.contact() EmailSender.get_sender( organisation_subject(_('Einsatz-Erinnerung')), get_email_content('j_reminder', base_dict(locals())), bcc=emails ).attach_ics(generate_ical_for_job(job)).continue_thread(job).send()
def job_time_changed(emails, job): EmailSender.get_sender( organisation_subject(_('Einsatz-Zeit geändert')), get_email_content('j_changed', base_dict(locals())), bcc=emails ).attach_ics(generate_ical_for_job(job)).continue_thread(job).send()
def job_signup(email, job): EmailSender.get_sender( organisation_subject(_('Für Einsatz angemeldet')), get_email_content('j_signup', base_dict(locals())) ).attach_ics(generate_ical_for_job(job)).start_thread(job).send_to(email)