mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
add temp email template and subject
This commit is contained in:
parent
3475a76899
commit
6c605566a2
3 changed files with 2 additions and 2 deletions
|
@ -0,0 +1 @@
|
|||
There has been a change to {{ domain }}
|
|
@ -473,10 +473,9 @@ class DomainNameserversView(DomainFormBaseView):
|
|||
# if the nameservers where changed, send notification to domain managers.
|
||||
if should_notify:
|
||||
context={
|
||||
"nameservers": nameservers,
|
||||
"domain": self.object,
|
||||
}
|
||||
email_domain_managers(self.object.name, "template", "subject", context)
|
||||
email_domain_managers(self.object.name, "emails/domain_change_notification.txt", "emails.domain_change_notification_subject.txt", context)
|
||||
|
||||
# superclass has the redirect
|
||||
return super().form_valid(formset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue