mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 13:34:10 +02:00
modify domain request summary email
This commit is contained in:
parent
4c089ff904
commit
e86ad5f9a8
2 changed files with 42 additions and 4 deletions
|
@ -1005,11 +1005,13 @@ class DomainRequest(TimeStampedModel):
|
|||
if not context:
|
||||
has_organization_feature_flag = flag_is_active_for_user(recipient, "organization_feature")
|
||||
is_org_user = has_organization_feature_flag and recipient.has_view_portfolio_permission(self.portfolio)
|
||||
requires_feb_questions = self.requires_feb_questions()
|
||||
context = {
|
||||
"domain_request": self,
|
||||
# This is the user that we refer to in the email
|
||||
"recipient": recipient,
|
||||
"is_org_user": is_org_user,
|
||||
"requires_feb_questions": requires_feb_questions,
|
||||
}
|
||||
|
||||
if custom_email_content:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue