-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Includes issue(s): Issue #515 Update USWDS from 3.71 to 3.8 | Training Website Issue #510 Bug: Update content in email sent to GSPC Attendees Issue #509 Add button to the Send Invitations for GSA SmartPay Program Certification screen
- Loading branch information
Showing
15 changed files
with
118 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,11 @@ | |
''') | ||
|
||
GSPC_INVITE_EMAIL_TEMPLATE = Template(''' | ||
<p>Hello</p> | ||
<p>Greetings!</p> | ||
<p> | ||
During the GSA SmartPay Training Forum, you completed the required coursework for the GSA SmartPay Program Certification (GSPC) defined by Smart Bulletin 22. | ||
During the GSA SmartPay® Training Forum, you completed the required coursework for the GSA SmartPay Program Certification (GSPC) | ||
defined by <a href="https://smartpay.gsa.gov/policies-and-audits/smart-bulletins/022/">Smart Bulletin 22</a>. | ||
</p> | ||
<p> | ||
GSPC recipients are also required to have a minimum of six (6) months of continuous, hands-on experience working with the GSA SmartPay program. | ||
|
@@ -42,7 +43,7 @@ | |
<p> | ||
After completing this action, your GSPC will be immediately emailed to you and available for download within the training system. | ||
If you have any questions or need further assistance, email us at [email protected]. | ||
If you have any questions or need further assistance, email us at <a href="mailto:[email protected]">[email protected]</a>. | ||
</p> | ||
<p>Thank you.</p> | ||
''') | ||
|
@@ -84,7 +85,7 @@ def send_gspc_invite_email(to_email: EmailStr, link: str) -> None: | |
body = GSPC_INVITE_EMAIL_TEMPLATE.substitute({"link": link}) | ||
message = EmailMessage() | ||
message.set_content(body, subtype="html") | ||
message["Subject"] = "Paceholder" | ||
message["Subject"] = "Verify your GSA SmartPay Program Certification (GSPC) Coursework and Experience" | ||
message["From"] = f"{settings.EMAIL_FROM_NAME} <{settings.EMAIL_FROM}>" | ||
message["To"] = to_email | ||
|
||
|