mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
feat(coderd/notifications): improve notification format consistency (#14967)
This Pull request addresses the more trivial items in https://github.com/coder/coder/issues/14893. These were simple formatting changes that I was able to fix despite limited context. Some more changes are required for which I will have to dig a bit deeper into how the template contexts are populated. I'm happy to add those to this PR or create a subsequent PR.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
Hi Bobby
|
||||
Hi Bobby,
|
||||
|
||||
The template **bobby-template** was deleted by **rob**.
|
||||
The template **bobby-template** was deleted by **rob**.
|
||||
|
||||
The template's display name was **Bobby's Template**.
|
@ -1,2 +1,5 @@
|
||||
Hi Bobby,
|
||||
User account **bobby** has been activated.
|
||||
|
||||
User account **bobby** has been activated.
|
||||
|
||||
The newly activated account belongs to **william tables** and was activated by **rob**.
|
@ -1,3 +1,5 @@
|
||||
Hi Bobby,
|
||||
|
||||
New user account **bobby** has been created.
|
||||
New user account **bobby** has been created.
|
||||
|
||||
This new user account was created for **William Tables** by **rob**.
|
@ -1,3 +1,5 @@
|
||||
Hi Bobby,
|
||||
|
||||
User account **bobby** has been deleted.
|
||||
User account **bobby** has been deleted.
|
||||
|
||||
The deleted account belonged to **william tables** and was deleted by **rob**.
|
@ -1,2 +1,5 @@
|
||||
Hi Bobby,
|
||||
User account **bobby** has been suspended.
|
||||
|
||||
User account **bobby** has been suspended.
|
||||
|
||||
The newly suspended account belongs to **william tables** and was suspended by **rob**.
|
@ -1,3 +1,5 @@
|
||||
Hi Bobby
|
||||
Hi Bobby,
|
||||
|
||||
Your workspace **bobby-workspace** has been updated automatically to the latest template version (1.0).
|
||||
Reason for update: **template now includes catnip**
|
||||
|
||||
Reason for update: **template now includes catnip**.
|
@ -1,3 +1,5 @@
|
||||
Hi Bobby
|
||||
Hi Bobby,
|
||||
|
||||
Automatic build of your workspace **bobby-workspace** failed.
|
||||
|
||||
The specified reason was "**autostart**".
|
@ -1,4 +1,5 @@
|
||||
Hi Bobby
|
||||
Hi Bobby,
|
||||
|
||||
Your workspace **bobby-workspace** was deleted.
|
||||
|
||||
The specified reason was "**autodeleted due to dormancy (autobuild)**".
|
@ -1,4 +1,4 @@
|
||||
Hi Bobby
|
||||
Hi Bobby,
|
||||
|
||||
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.
|
||||
Dormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.
|
||||
|
@ -1,4 +1,5 @@
|
||||
Hi Bobby,
|
||||
|
||||
A manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).
|
||||
The workspace build was initiated by **joe**.
|
||||
|
||||
The template's display name was **William's Template**. The workspace build was initiated by **joe**.
|
@ -1,4 +1,4 @@
|
||||
Hi Bobby
|
||||
Hi Bobby,
|
||||
|
||||
Your workspace **bobby-workspace** has been marked for **deletion** after 24 hours of [dormancy](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.
|
||||
To prevent deletion, use your workspace with the link below.
|
@ -1,2 +1,3 @@
|
||||
Hi Bobby,
|
||||
Your account **bobby** has been activated.
|
||||
|
||||
Your account **bobby** has been activated by **rob**.
|
@ -1,2 +1,3 @@
|
||||
Hi Bobby,
|
||||
Your account **bobby** has been suspended.
|
||||
|
||||
Your account **bobby** has been suspended by **rob**.
|
Reference in New Issue
Block a user