Skip to content

Commit

Permalink
Merge pull request #109 from nerc-project/email_template_fixed
Browse files Browse the repository at this point in the history
updated email templates and also url to renew projects/allocations
  • Loading branch information
jtriley authored Apr 2, 2024
2 parents adcdc49 + cd4aeb1 commit 279fcfb
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion k8s/overlays/prod/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data:
CENTER_NAME: "New England Research Cloud"
CENTER_BASE_URL: "https://coldfront.mss.mghpcc.org"
CENTER_HELP_URL: "https://nerc.mghpcc.org/user-guides/"
CENTER_PROJECT_RENEWAL_HELP_URL: "https://nerc.mghpcc.org/user-guides/"
CENTER_PROJECT_RENEWAL_HELP_URL: "https://nerc-project.github.io/nerc-docs/get-started/allocation/project-and-allocation-review/"
ACCOUNT_CREATION_TEXT: >
Any faculty, staff, student, or external collaborator must request an user account through the <a href="https://regapp.mss.mghpcc.org/" target="_blank">MGHPCC Shared Services (MGHPCC-SS) Account Portal</a>. For more information, please see the <a href="https://nerc.mghpcc.org/user-guides/" target="_blank">user guides</a>.
EMAIL_ENABLED: 'True'
Expand Down
2 changes: 1 addition & 1 deletion k8s/overlays/staging/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data:
CENTER_NAME: "New England Research Cloud"
CENTER_BASE_URL: "https://coldfront-staging.mss.mghpcc.org"
CENTER_HELP_URL: "https://nerc.mghpcc.org/user-guides/"
CENTER_PROJECT_RENEWAL_HELP_URL: "https://nerc.mghpcc.org/user-guides/"
CENTER_PROJECT_RENEWAL_HELP_URL: "https://nerc-project.github.io/nerc-docs/get-started/allocation/project-and-allocation-review/"
ACCOUNT_CREATION_TEXT: >
Any faculty, staff, student, or external collaborator must request an user account through the <a href="https://regapp.mss.mghpcc.org/" target="_blank">MGHPCC Shared Services (MGHPCC-SS) Account Portal</a>. For more information, please see the <a href="https://nerc.mghpcc.org/user-guides/" target="_blank">user guides</a>.
EMAIL_ENABLED: 'True'
Expand Down
3 changes: 3 additions & 0 deletions src/email/allocation_activated.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ Your allocation request for {{resource}} has been activated. You now have access

To view your allocations information, please go to {{url}}

If you are a student or collaborator under this project, you are receiving this
notice as a courtesy.

Thank you,
{{signature}}
3 changes: 3 additions & 0 deletions src/email/allocation_change_approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ Your allocation change request for {{resource}} has been approved. The requested

To view your allocation's information, please go to {{url}}

If you are a student or collaborator under this project, you are receiving this
notice as a courtesy.

Thank you,
{{signature}}
3 changes: 3 additions & 0 deletions src/email/allocation_change_denied.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ Your allocation change request for {{resource}} has been denied.

Please login to view a message from the system administrators pertaining to your allocation change request: {{url}}

If you are a student or collaborator under this project, you are receiving this
notice as a courtesy.

Thank you,
{{signature}}
3 changes: 3 additions & 0 deletions src/email/allocation_denied.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ Your allocation request for {{resource}} has been denied.

Please login to view a message from the system administrators: {{url}}

If you are a student or collaborator under this project, you are receiving this
notice as a courtesy.

Thank you,
{{signature}}
5 changes: 4 additions & 1 deletion src/email/allocation_expired.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Dear {{center_name}} user,

Your access to {{center_name}} resources has expired. Any accounts under these allocation(s) are now unable to
Your access to {{center_name}}'s resources has expired. Any accounts under these allocation(s) are now unable to
access the associated resource. If you wish to continue using them, the group owners responsible for the following project(s) must create a new
allocation request(s). Below is a list of links to your project(s) containing at least one expired allocation:
{% for project_key, project_url in project_dict.items %}
Expand All @@ -15,5 +15,8 @@ The group owner responsible for this project is required to renew it on a yearly
last year, you will be required to before requesting a new allocation.
For more information about the yearly renewal, visit our knowledge base: {{ project_renewal_help_url }}.

If you are a student or collaborator under this project, you are receiving this
notice as a courtesy.

Thank you,
{{ signature }}
3 changes: 3 additions & 0 deletions src/email/allocation_expiring.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ The group owner responsible for this project is required to renew it on a yearly
last year, you will be required to before renewing the allocation.
For more information about the yearly renewal, visit our knowledge base: {{ project_renewal_help_url }}

If you are a student or collaborator under this project, you are receiving this
notice as a courtesy.

Thank you,
{{ signature }}

0 comments on commit 279fcfb

Please sign in to comment.