mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
chore: improve dormant workspace notification wording (#17100)
Related to #17099
This commit is contained in:
@ -0,0 +1,3 @@
|
||||
UPDATE notification_templates SET body_template = E'Your workspace **{{.Labels.name}}** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of {{.Labels.reason}}.\n' ||
|
||||
E'Dormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after {{.Labels.timeTilDormant}} of inactivity.\n' ||
|
||||
E'To prevent deletion, use your workspace with the link below.' WHERE id = '0ea69165-ec14-4314-91f1-69566ac3c5a0';
|
@ -0,0 +1,3 @@
|
||||
UPDATE notification_templates SET body_template = E'Your workspace **{{.Labels.name}}** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) due to inactivity exceeding the dormancy threshold.\n\n' ||
|
||||
E'This workspace will be automatically deleted in {{.Labels.timeTilDormant}} if it remains inactive.\n\n' ||
|
||||
E'To prevent deletion, activate your workspace using the link below.' WHERE id = '0ea69165-ec14-4314-91f1-69566ac3c5a0';
|
@ -13,12 +13,13 @@ Content-Type: text/plain; charset=UTF-8
|
||||
Hi Bobby,
|
||||
|
||||
Your workspace bobby-workspace has been marked as dormant (https://coder.co=
|
||||
m/docs/templates/schedule#dormancy-threshold-enterprise) because of breache=
|
||||
d the template's threshold for inactivity.
|
||||
Dormant workspaces are automatically deleted (https://coder.com/docs/templa=
|
||||
tes/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivit=
|
||||
y.
|
||||
To prevent deletion, use your workspace with the link below.
|
||||
m/docs/templates/schedule#dormancy-threshold-enterprise) due to inactivity =
|
||||
exceeding the dormancy threshold.
|
||||
|
||||
This workspace will be automatically deleted in 24 hours if it remains inac=
|
||||
tive.
|
||||
|
||||
To prevent deletion, activate your workspace using the link below.
|
||||
|
||||
|
||||
View workspace: http://test.com/@bobby/bobby-workspace
|
||||
@ -54,12 +55,13 @@ argin: 8px 0 32px; line-height: 1.5;">
|
||||
<p>Hi Bobby,</p>
|
||||
<p>Your workspace <strong>bobby-workspace</strong> has been marked =
|
||||
as <a href=3D"https://coder.com/docs/templates/schedule#dormancy-threshold-=
|
||||
enterprise"><strong>dormant</strong></a> because of breached the template&r=
|
||||
squo;s threshold for inactivity.<br>
|
||||
Dormant workspaces are <a href=3D"https://coder.com/docs/templates/schedule=
|
||||
#dormancy-auto-deletion-enterprise">automatically deleted</a> after 24 hour=
|
||||
s of inactivity.<br>
|
||||
To prevent deletion, use your workspace with the link below.</p>
|
||||
enterprise"><strong>dormant</strong></a> due to inactivity exceeding the do=
|
||||
rmancy threshold.</p>
|
||||
|
||||
<p>This workspace will be automatically deleted in 24 hours if it remains i=
|
||||
nactive.</p>
|
||||
|
||||
<p>To prevent deletion, activate your workspace using the link below.</p>
|
||||
</div>
|
||||
<div style=3D"text-align: center; margin-top: 32px;">
|
||||
=20
|
||||
|
@ -27,6 +27,6 @@
|
||||
},
|
||||
"title": "Workspace \"bobby-workspace\" marked as dormant",
|
||||
"title_markdown": "Workspace \"bobby-workspace\" marked as dormant",
|
||||
"body": "Your workspace bobby-workspace has been marked as dormant (https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.\nDormant workspaces are automatically deleted (https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.\nTo prevent deletion, use your workspace with the link below.",
|
||||
"body_markdown": "Your workspace **bobby-workspace** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.\nDormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.\nTo prevent deletion, use your workspace with the link below."
|
||||
"body": "Your workspace bobby-workspace has been marked as dormant (https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) due to inactivity exceeding the dormancy threshold.\n\nThis workspace will be automatically deleted in 24 hours if it remains inactive.\n\nTo prevent deletion, activate your workspace using the link below.",
|
||||
"body_markdown": "Your workspace **bobby-workspace** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) due to inactivity exceeding the dormancy threshold.\n\nThis workspace will be automatically deleted in 24 hours if it remains inactive.\n\nTo prevent deletion, activate your workspace using the link below."
|
||||
}
|
Reference in New Issue
Block a user