Skip to content

Commit

Permalink
[ENG-4564] GFS / Update Registration emails (#10429)
Browse files Browse the repository at this point in the history
* Registration email updates for GFS Admins
* Update sign-off for admin emails
  • Loading branch information
jwalz authored Aug 11, 2023
1 parent 7c9954e commit ffbb0d6
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 8 deletions.
37 changes: 32 additions & 5 deletions website/templates/emails/pending_embargo_admin.html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,50 @@
To cancel this embargoed registration: <a href="${disapproval_link}">Click here</a>.
</p>
<p>
Note: If any admin clicks their cancel link, the submission will be cancelled immediately, and the
pending registration will be reverted to draft state to revise and resubmit. This operation is irreversible.
% if not reviewable.provider or reviewable.provider._id != 'gfs':
Note: If any admin clicks their cancel link, the submission will be canceled immediately, and the
pending registration will be reverted to draft state to revise and resubmit. This operation is irreversible.
% else:
Please note:
<ul>
<li>
If any admin clicks their cancel link, the submission will be cancelled immediately, and the
pending registration will be reverted to draft state to revise and resubmit. This operation is irreversible.
</li>
<li>
You are an administrator on a registration submitted to the GFS registry, by approving this registration submission
(or allowing 48 hours to pass) you agree to receive communications from COS staff about the registration, study data,
and your experience with the GFS project. Your personal information will not be shared beyond COS staff with
the explicit purpose of communication regarding access to GFS study data.
</li>
<li>
By rejecting this registration submission you are thereby not agreeing to receive communications about the
registration, study data, and your experience with the GFS project.
</li>
<li>
If you do not feel comfortable agreeing to these terms to gain access to the GFS study data, you may contact
<a href= "mailto: [email protected]">[email protected]</a> to discuss your concerns.
</li>
% endif
</p>
% if not reviewable.branched_from_node:
<p>
An <a href="${reviewable.registered_from.absolute_url}">OSF Project</a> was created from
this registration to support continued collaboration and sharing of your research.
this registration to support continued collaboration and sharing of your research.
This project will remain available even if your registration is rejected.
</p>
<p>
You will be automatically subscribed to notification emails for this project. To change your email notification
preferences, visit your project or your user settings:
<a href="${settings.DOMAIN + "settings/notifications/"}">${settings.DOMAIN}settings/notifications</a>
<a href="${settings.DOMAIN + "settings/notifications/"}">${settings.DOMAIN}settings/notifications</a>
</p>
% endif
<p>
Sincerely yours,<br>
The OSF Robots<br>
% if not reviewable.provider or reviewable.provider._id != 'gfs':
The OSF Team<br>
% else:
COS and Global Flourishing Study<br>
% endif
</tr>
</%def>
33 changes: 30 additions & 3 deletions website/templates/emails/pending_registration_admin.html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,31 @@
To cancel this registration: <a href="${disapproval_link}">Click here</a>.
</p>
<p>
Note: If any admin clicks their cancel link, the submission will be cancelled immediately, and the
pending registration will be reverted to draft state to revise and resubmit. This operation is irreversible.
% if not reviewable.provider or reviewable.provider._id != 'gfs':
Note: If any admin clicks their cancel link, the submission will be canceled immediately, and the
pending registration will be reverted to draft state to revise and resubmit. This operation is irreversible.
% else:
Please note:
<ul>
<li>
If any admin clicks their cancel link, the submission will be cancelled immediately, and the
pending registration will be reverted to draft state to revise and resubmit. This operation is irreversible.
</li>
<li>
You are an administrator on a registration submitted to the GFS registry, by approving this registration submission
(or allowing 48 hours to pass) you agree to receive communications from COS staff about the registration, study data,
and your experience with the GFS project. Your personal information will not be shared beyond COS staff with
the explicit purpose of communication regarding access to GFS study data.
</li>
<li>
By rejecting this registration submission you are thereby not agreeing to receive communications about the
registration, study data, and your experience with the GFS project.
</li>
<li>
If you do not feel comfortable agreeing to these terms to gain access to the GFS study data, you may contact
<a href= "mailto: [email protected]">[email protected]</a> to discuss your concerns.
</li>
% endif
</p>
% if not reviewable.branched_from_node:
<p>
Expand All @@ -50,6 +73,10 @@
% endif
<p>
Sincerely yours,<br>
The OSF Robots<br>
% if not reviewable.provider or reviewable.provider._id != 'gfs':
The OSF Team<br>
% else:
COS and Global Flourishing Study<br>
% endif
</tr>
</%def>

0 comments on commit ffbb0d6

Please sign in to comment.