mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-30 04:53:09 +02:00
FEB email bugfix [litterbox] (#3930)
* Pass in summary context to omb submission confirmation email * Update email template spacing
This commit is contained in:
parent
3d09b65c16
commit
b250375de0
2 changed files with 22 additions and 32 deletions
|
@ -1002,7 +1002,15 @@ class Review(DomainRequestWizard):
|
|||
return
|
||||
|
||||
try:
|
||||
context = {"domain_request": self.domain_request, "date": date.today()}
|
||||
purpose_label = DomainRequest.FEBPurposeChoices.get_purpose_label(self.domain_request.feb_purpose_choice)
|
||||
# requires_feb_questions and purpose_label used to pass into portfolio_domain_request_summary template
|
||||
context = {
|
||||
"domain_request": self.domain_request,
|
||||
"date": date.today(),
|
||||
"requires_feb_questions": True,
|
||||
"purpose_label": purpose_label,
|
||||
}
|
||||
|
||||
send_templated_email(
|
||||
"emails/omb_submission_confirmation.txt",
|
||||
"emails/omb_submission_confirmation_subject.txt",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue