Skip to content
Snippets Groups Projects
Verified Commit 52895b14 authored by Marte Fossum's avatar Marte Fossum
Browse files

Add new guest notifier email template

parent ebee1690
No related branches found
No related tags found
1 merge request!438Add command for notifying or schedule email to guests
......@@ -38,6 +38,7 @@ class EmailTemplate(BaseModel):
GUEST_REDO_REGISTRATION is for informing a guest that the identification data is incorrect and need to be resubmitted
SPONSOR_CONFIRMATION is for informing the sponsor they must verify the guest's information
ROLE_END_REMINDER is used when reminding the sponsor if their ending roles in the near future
ROLE_END_REMINDER_GUEST is used for reminding guests that their role is ending in the near future
INVALID_EMAIL is used to notify sponsors when email sending fails
due to a problem with the address of an invited guest
"""
......@@ -49,6 +50,7 @@ class EmailTemplate(BaseModel):
GUEST_REDO_REGISTRATION = "guest_redo_registration"
SPONSOR_CONFIRMATION = "sponsor_confirmation"
ROLE_END_REMINDER = "role_end_reminder"
ROLE_END_REMINDER_GUEST = "role_end_reminder_guest"
INVALID_EMAIL = "invalid_email"
template_key = models.CharField(
......
Dette er en automatisk generert melding fra gjesteregistreringstjenesten.
Din gjesterolle {{name_nb}} hos UiO nærmer seg sin sluttdato: {{end_date}}
På denne datoen vil du miste dine tilganger til UiO, med mindre du er registrert på andre måter, for eksempel som ansatt, student eller annen gjesterolle.
Ta kontakt med din enhet dersom dette er feil, eller kontakt oss - https://www.uio.no/tjenester/it/kontakt/
This message has been automatically generated by the guest registration system.
Your guest role {{name_en}} at UiO is nearing its expiration date: {{end_date}}
You will lose your access to UiO, unless you're registered by other means, e.g. as an employee, a student or with a different guest role.
If this is incorrect, please contact your unit, or us - https://www.uio.no/english/services/it/contact/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment