default EmailTemplate for HalfYearProcess and HalfYearProcessOverdue
Trello Card: https://trello.com/c/OHeaoNfJ/163-default-emailtemplate-for-halfyearprocess-and-halfyearprocessoverdue
Intro
When a Superdamin wants to send a mail for the new HalfYearProcess we need two new templates with variables in the EmailTemplate
model.
- Default Template for initial HalfYearProcessMail
- Default Template for HalfYearProcessOverdue (triggered if volunteer doesn't respond to the first/initial mail)
Functional description
Current implementation can be found through Erinnerungs-Emails -> E-Mailvorlagen (screenshot 2), example: reminder_mailings (screenshot 1). Screen shows on the left side a manual on how to use the variables and a example. Subject and Mail content are editable and there needs to be at least one active email template of each kind.
Steps
- Add the two new templates to current implementation.
- Apply to email_template_body/textarea a min-height (e.g: class:
text-bg-body
)
Variables for HalfYearProcessMail
- Anrede(Salutation)
- Name
- Einsatz(Assignment -> Assignment + Clients Name/GroupAssignment -> GroupAssignment + Group Title)
- FeedbackLink
- EmailAbsender(MailSender)
- Semester
Variables for HalfYearProcessMailOverdue
- Anrede (Salutation)
- Name
- Einsatz (Assignment -> Assignment + Clients Name/GroupAssignment -> GroupAssignment + Group Title)
- FeedbackLink
- EmailAbsender (MailSender)
- Semester
- InitialeHalbjahresErinnerungVersendetAm (InitialHalfYearProcessMailSentOn: Date on when the initial mailer was sent)