Skip to content

Commit ca23f44

Browse files
authored
Merge pull request #736 from uw-it-aca/task/shared-drive-notifications
shared drive warning text
2 parents aa4dd4f + 36b7b1e commit ca23f44

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

endorsement/notifications/shared_drive.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ def _create_notification_expiration_notice(notice_level, drive, policy):
3232
}
3333

3434
if notice_level < 4:
35-
subject = ("Action Required: Shared Drive "
36-
"service will expire soon")
35+
subject = ("Action Required: Google Shared Drive(s) "
36+
"will be deleted soon")
3737
text_template = _email_template("notice_warning.txt")
3838
html_template = _email_template("notice_warning.html")
3939
else:
40-
subject = "Action Required: Shared Drive services have expired"
40+
subject = ("Action Required: Google Shared Drive(s) "
41+
"will be deleted")
4142
text_template = _email_template("notice_warning_final.txt")
4243
html_template = _email_template("notice_warning_final.html")
4344

endorsement/templates/email/shared_drive/notice_warning.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
Hello,
22
<p>
33
You are receiving this email because you are identified as
4-
{%if drive.shared_drive.members.all.count > 1 %}
5-
one of {{ drive.shared_drive.members.all.count }}
6-
{% else %}
7-
the
8-
{% endif %}
9-
UW manager{{drive.shared_drive.members.all.count|pluralize}} of the Google Shared Drive named "{{drive.shared_drive.drive_name}}".
4+
{%if drive.shared_drive.members.all.count > 1 %}a {% else %}the {% endif %}
5+
UW manager of the Google Shared Drive named "{{drive.shared_drive.drive_name}}".
106
</p>
117
<p>
12-
<a href="https://provision.uw.edu/drives" target="_blank">To maintain service, renew this shared drive within {{notice_time}} days</a> in the Provisioning Request Tool (PRT).<br />
13-
Google Shared Drives services last for {{lifetime}} days and must be renewed annually or removed.
14-
{%if notice_time <= 31 %}Non-renewed (expired) drives will be deleted. Managers are responsible for retaining a copy of any material subject to any applicable record retention schedules prior to deletion.{%endif%}
8+
To maintain this Google Shared Drive, renew it within {{notice_time}} days using the Provisioning Request Tool (PRT) at:
9+
</p>
10+
<a href="https://provision.uw.edu/drives" target="_blank" style="padding-left: 4em;">https://provision.uw.edu/drives</a>
11+
<p>
12+
Google Shared Drives must be renewed once every {{lifetime}} days. If a Google Shared Drive is not renewed within {{lifetime}} days, the Google Shared Drive and all data contained within it will be permanently deleted.
1513
</p>
1614
<p>
1715
If you have any questions, please contact <a href="mailto:help@uw.edu" target="_blank">help@uw.edu</a> or 206-221-5000.

endorsement/templates/email/shared_drive/notice_warning.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
Hello,
22

3-
You are receiving this email because you are identified as {%if drive.shared_drive.members.all.count > 1 %}one of {{ drive.shared_drive.members.all.count }}{% else %}the{% endif %} UW manager{{drive.shared_drive.members.all.count|pluralize}}
3+
You are receiving this email because you are identified as {%if drive.shared_drive.members.all.count > 1 %}a{% else %}the{% endif %} UW manager
44
of the Google Shared Drive named "{{drive.shared_drive.drive_name}}".
55

6-
To maintain service, renew this shared drive within {{notice_time}} days</a> in
6+
To maintain this Google Shared Drive, renew it within {{notice_time}} days using
77
the Provisioning Request Tool (PRT) at:
88

99
https://provision.uw.edu/drives
1010

11-
Google Shared Drives services last for {{lifetime}} days and must be renewed
12-
annually or removed. {%if notice_time <= 31 %}Non-renewed (expired) drives will be deleted.
13-
Managers are responsible for retaining a copy of any material subject to
14-
ny applicable record retention schedules prior to deletion.{%endif%}
11+
Google Shared Drives must be renewed once every {{lifetime}} days. If a Google
12+
Shared Drive is not renewed within {{lifetime}} days, the Google Shared Drive and
13+
all data contained within it will be permanently deleted.
1514

1615
If you have any questions, please contact help@uw.edu or 206-221-5000.
1716

0 commit comments

Comments
 (0)