-
Notifications
You must be signed in to change notification settings - Fork 78
32485 - Email notification for new accounts #3642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
99232be
Email notification for new accounts
Jxio 7d9ee07
lint
Jxio 5ac93fa
lint
Jxio f561d5c
update poetry
Jxio c70f962
code review fix and update rejection template
Jxio f5a7b38
Merge branch 'main' of https://github.com/Jxio/sbc-auth into 32485
Jxio 56e5372
lint
Jxio 205fa4a
lint
Jxio 974dc99
unit test
Jxio e5fc90e
unit test
Jxio 7b373ec
tweaks
Jxio 0823703
tweaks
Jxio dcacb87
Merge branch 'main' of https://github.com/Jxio/sbc-auth into 32485
Jxio 282ff85
unit test fix
Jxio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
14 changes: 14 additions & 0 deletions
14
...vices/account-mailer/src/account_mailer/email_templates/account_created_notification.html
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Your BC Registries and Online Services account has been approved. | ||
|
|
||
| Account Number: {{ account_number }} | ||
| Account Name: {{ account_name_with_branch }} | ||
| Login Method: {{ login_source }} | ||
|
|
||
| [Log in to your account]({{ context_url }}) | ||
|
|
||
| --- | ||
|
|
||
| **BC Registries and Online Services** | ||
| Toll Free: 1-877-526-1526 | ||
| Victoria Office: 250-387-7848 | ||
| Email: [BCRegistries@gov.bc.ca](BCRegistries@gov.bc.ca) |
15 changes: 10 additions & 5 deletions
15
...ervices/account-mailer/src/account_mailer/email_templates/govm_approved_notification.html
This file contains hidden or 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 |
|---|---|---|
| @@ -1,9 +1,14 @@ | ||
| # Your BC Registries account **{{ account_number }}: {{ account_name_with_branch }}** has been approved. | ||
| # Your BC Registries and Online Services account has been approved. | ||
|
|
||
| BC Registries staff have approved your organization's BC Registries account. | ||
| Account Number: {{ account_number }} | ||
| Account Name: {{ account_name_with_branch }} | ||
| Login Method: IDIR | ||
|
|
||
| You are the account administrator. | ||
| [Log in to your account]({{ context_url }}) | ||
|
|
||
| To activate your BC Registries account, click the link below and login to your account. After logging in, you can manage your team members in account settings. | ||
| --- | ||
|
|
||
| [Access Account]({{ context_url }}) | ||
| **BC Registries and Online Services** | ||
| Toll Free: 1-877-526-1526 | ||
| Victoria Office: 250-387-7848 | ||
| Email: [BCRegistries@gov.bc.ca](BCRegistries@gov.bc.ca) |
14 changes: 10 additions & 4 deletions
14
...ervices/account-mailer/src/account_mailer/email_templates/govm_rejected_notification.html
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,13 @@ | ||
| # Your BC Registries account **{{ account_number }}: {{ account_name_with_branch }}** has been rejected. | ||
| # Your BC Registries and Online Services account has been declined. | ||
|
|
||
| BC Registries staff have rejected your organization's BC Registries account. | ||
| BC Registries staff have reviewed and declined your account request. If you have questions, please contact us to discuss further actions. | ||
|
|
||
| You are the account administrator. | ||
| Account Name: {{ account_name_with_branch }} | ||
| Login Method: {{ login_source }} | ||
|
|
||
| Contact BC Registries staff at **[bconline@gov.bc.ca](bconline@gov.bc.ca)** to discuss further actions. | ||
| --- | ||
|
|
||
| **BC Registries and Online Services** | ||
| Toll Free: 1-877-526-1526 | ||
| Victoria Office: 250-387-7848 | ||
| Email: [BCRegistries@gov.bc.ca](BCRegistries@gov.bc.ca) |
15 changes: 12 additions & 3 deletions
15
...unt-mailer/src/account_mailer/email_templates/membership_approved_notification_email.html
This file contains hidden or 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 |
|---|---|---|
| @@ -1,5 +1,14 @@ | ||
| # Your membership to the **{{ account_number }}: {{ account_name_with_branch }}** account at Business Registry has been approved. | ||
| # Your BC Registries and Online Services account has been approved. | ||
|
|
||
| To access this account, log into Business Registry using your BC Services Card. | ||
| Account Number: {{ account_number }} | ||
| Account Name: {{ account_name_with_branch }} | ||
| Login Method: {{ login_source }} | ||
|
|
||
| [Business Registry]({{ context_url }}) | ||
| [Log in to your account]({{ context_url }}) | ||
|
|
||
| --- | ||
|
|
||
| **BC Registries and Online Services** | ||
| Toll Free: 1-877-526-1526 | ||
| Victoria Office: 250-387-7848 | ||
| Email: [BCRegistries@gov.bc.ca](BCRegistries@gov.bc.ca) |
15 changes: 12 additions & 3 deletions
15
.../src/account_mailer/email_templates/membership_approved_notification_email_for_bceid.html
This file contains hidden or 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 |
|---|---|---|
| @@ -1,5 +1,14 @@ | ||
| # Your membership to the **{{ account_number }}: {{ account_name_with_branch }}** account at Business Registry has been approved. | ||
| # Your BC Registries and Online Services account has been approved. | ||
|
|
||
| To access this account, log into Business Registry using your BCEID. | ||
| Account Number: {{ account_number }} | ||
| Account Name: {{ account_name_with_branch }} | ||
| Login Method: BCeID | ||
|
|
||
| [Business Registry]({{ context_url }}) | ||
| [Log in to your account]({{ context_url }}) | ||
|
|
||
| --- | ||
|
|
||
| **BC Registries and Online Services** | ||
| Toll Free: 1-877-526-1526 | ||
| Victoria Office: 250-387-7848 | ||
| Email: [BCRegistries@gov.bc.ca](BCRegistries@gov.bc.ca) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.