Need to fix variables

This commit is contained in:
Rebecca Hsieh 2023-09-12 18:39:55 -07:00
parent 952fe96c00
commit 8a8fbdab64
No known key found for this signature in database
GPG key ID: 644527A2F375A379
2 changed files with 6 additions and 6 deletions

View file

@ -1,11 +1,9 @@
{% autoescape off %}{# In a text file, we don't want to have HTML entities escaped #} {% autoescape off %}{# In a text file, we don't want to have HTML entities escaped #}
Hi $CONFIRM_firstname. Hi {{ incoming-email-here }}.
{{ contact.first_name }} # We don't know their first name until they make an account, we only know their email
# Stuck here because we only get their email from the form, so can't pull above?
{{ contact-of-whoever-owns-usually-admin-or-maybe-security-contact }} has added you as a manager on {{ domain.name }}.
$CONFIRM_name-of-person-who-added-this-person has added you as a manager on {{ domain.name }}.
{{ application.submitter.first_name }}
{{ application.submitter.creator }}
YOU NEED A LOGIN.GOV ACCOUNT YOU NEED A LOGIN.GOV ACCOUNT
Youll need a Login.gov account to manage your .gov domain. Login.gov provides a simple and secure process for signing into many government services with one account. If you dont already have one, follow these steps to create your Login.gov account <https://login.gov/help/get-started/create-your-account/>. Youll need a Login.gov account to manage your .gov domain. Login.gov provides a simple and secure process for signing into many government services with one account. If you dont already have one, follow these steps to create your Login.gov account <https://login.gov/help/get-started/create-your-account/>.

View file

@ -338,6 +338,8 @@ class DomainAddUserView(DomainPermissionView, FormMixin):
context={ context={
"domain_url": self._domain_abs_url(), "domain_url": self._domain_abs_url(),
"domain": self.object, "domain": self.object,
# "user": the original person or contact
# "email": email of person we want to add
}, },
) )
except EmailSendingError: except EmailSendingError: