mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +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,
|
Hi Bobby,
|
||||||
|
|
||||||
Your workspace bobby-workspace has been marked as dormant (https://coder.co=
|
Your workspace bobby-workspace has been marked as dormant (https://coder.co=
|
||||||
m/docs/templates/schedule#dormancy-threshold-enterprise) because of breache=
|
m/docs/templates/schedule#dormancy-threshold-enterprise) due to inactivity =
|
||||||
d the template's threshold for inactivity.
|
exceeding the dormancy threshold.
|
||||||
Dormant workspaces are automatically deleted (https://coder.com/docs/templa=
|
|
||||||
tes/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivit=
|
This workspace will be automatically deleted in 24 hours if it remains inac=
|
||||||
y.
|
tive.
|
||||||
To prevent deletion, use your workspace with the link below.
|
|
||||||
|
To prevent deletion, activate your workspace using the link below.
|
||||||
|
|
||||||
|
|
||||||
View workspace: http://test.com/@bobby/bobby-workspace
|
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>Hi Bobby,</p>
|
||||||
<p>Your workspace <strong>bobby-workspace</strong> has been marked =
|
<p>Your workspace <strong>bobby-workspace</strong> has been marked =
|
||||||
as <a href=3D"https://coder.com/docs/templates/schedule#dormancy-threshold-=
|
as <a href=3D"https://coder.com/docs/templates/schedule#dormancy-threshold-=
|
||||||
enterprise"><strong>dormant</strong></a> because of breached the template&r=
|
enterprise"><strong>dormant</strong></a> due to inactivity exceeding the do=
|
||||||
squo;s threshold for inactivity.<br>
|
rmancy threshold.</p>
|
||||||
Dormant workspaces are <a href=3D"https://coder.com/docs/templates/schedule=
|
|
||||||
#dormancy-auto-deletion-enterprise">automatically deleted</a> after 24 hour=
|
<p>This workspace will be automatically deleted in 24 hours if it remains i=
|
||||||
s of inactivity.<br>
|
nactive.</p>
|
||||||
To prevent deletion, use your workspace with the link below.</p>
|
|
||||||
|
<p>To prevent deletion, activate your workspace using the link below.</p>
|
||||||
</div>
|
</div>
|
||||||
<div style=3D"text-align: center; margin-top: 32px;">
|
<div style=3D"text-align: center; margin-top: 32px;">
|
||||||
=20
|
=20
|
||||||
|
@ -27,6 +27,6 @@
|
|||||||
},
|
},
|
||||||
"title": "Workspace \"bobby-workspace\" marked as dormant",
|
"title": "Workspace \"bobby-workspace\" marked as dormant",
|
||||||
"title_markdown": "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": "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) 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) 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