Skip to content

feat(coderd): remove greetings from notifications templates #16991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change tabs to spaces
  • Loading branch information
defelmnq committed Mar 20, 2025
commit ca9369bba3f339b2683cd42dc3da2715cb8c5775
2 changes: 1 addition & 1 deletion coderd/notifications/dispatch/smtp/html.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{ .Labels._subject }}
</h1>
<div style="line-height: 1.5;">
<p>Hi {{ .UserName }},</p>
<p>Hi {{ .UserName }},</p>
{{ .Labels._body }}
</div>
<div style="text-align: center; margin-top: 32px;">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Template "Bobby's Template" deleted
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>The template <strong>Bobby&rsquo;s Template</strong> was deleted=
by <strong>rob</strong>.</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Template 'alpha' has been deprecated
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>The template <strong>alpha</strong> has been deprecated with the=
following message:</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ argin: 8px 0 32px; line-height: 1.5;">
A test notification
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>This is a test notification.</p>
</div>
<div style=3D"text-align: center; margin-top: 32px;">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ argin: 8px 0 32px; line-height: 1.5;">
User account "bobby" activated
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>User account <strong>bobby</strong> has been activated.</p>

<p>The account belongs to <strong>William Tables</strong> and it was activa=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ argin: 8px 0 32px; line-height: 1.5;">
User account "bobby" created
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>New user account <strong>bobby</strong> has been created.</p>

<p>This new user account was created for <strong>William Tables</strong> by=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ argin: 8px 0 32px; line-height: 1.5;">
User account "bobby" deleted
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>User account <strong>bobby</strong> has been deleted.</p>

<p>The deleted account belonged to <strong>William Tables</strong> and was =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ argin: 8px 0 32px; line-height: 1.5;">
User account "bobby" suspended
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>User account <strong>bobby</strong> has been suspended.</p>

<p>The account belongs to <strong>William Tables</strong> and it was suspen=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Reset your password for Coder
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Use the link below to reset your password.</p>

<p>If you did not make this request, you can ignore this message.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace "bobby-workspace" updated automatically
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Your workspace <strong>bobby-workspace</strong> has been updated=
automatically to the latest template version (1.0).</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace "bobby-workspace" autobuild failed
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Automatic build of your workspace <strong>bobby-workspace</stron=
g> failed.</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace builds failed for template "Bobby First Template"
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Template <strong>Bobby First Template</strong> has failed to bui=
ld <sup>4</sup>&frasl;<sub>55</sub> times over the last week.</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace 'bobby-workspace' has been created
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>The workspace <strong>bobby-workspace</strong> has been created =
from the template <strong>bobby-template</strong> using version <strong>alp=
ha</strong>.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace "bobby-workspace" deleted
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Your workspace <strong>bobby-workspace</strong> was deleted.</p>

<p>The specified reason was &ldquo;<strong>autodeleted due to dormancy (aut=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace "bobby-workspace" deleted
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Your workspace <strong>bobby-workspace</strong> was deleted.</p>

<p>The specified reason was &ldquo;<strong>autodeleted due to dormancy (aut=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace "bobby-workspace" marked as dormant
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<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=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace "bobby-workspace" manual build failed
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>A manual build of the workspace <strong>bobby-workspace</strong>=
using the template <strong>bobby-template</strong> failed (version: <stron=
g>bobby-template-version</strong>).<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace 'bobby-workspace' has been manually updated
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>A new workspace build has been manually created for your workspa=
ce <strong>bobby-workspace</strong> by <strong>bobby</strong> to update it =
to version <strong>alpha</strong> of template <strong>bobby-template</stron=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Workspace "bobby-workspace" marked for deletion
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Your workspace <strong>bobby-workspace</strong> has been marked =
for <strong>deletion</strong> after 24 hours of <a href=3D"https://coder.co=
m/docs/templates/schedule#dormancy-auto-deletion-enterprise">dormancy</a> b=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Your workspace "bobby-workspace" is low on volume space
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Volume <strong><code>/home/coder</code></strong> is over 90% ful=
l in workspace <strong>bobby-workspace</strong>.</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Your workspace "bobby-workspace" is low on volume space
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>The following volumes are nearly full in workspace <strong>bobby=
-workspace</strong></p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Your workspace "bobby-workspace" is low on memory
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Your workspace <strong>bobby-workspace</strong> has reached the =
memory usage threshold set at <strong>90%</strong>.</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Your account "bobby" has been activated
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Your account <strong>bobby</strong> has been activated by <stron=
g>rob</strong>.</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ argin: 8px 0 32px; line-height: 1.5;">
Your account "bobby" has been suspended
</h1>
<div style=3D"line-height: 1.5;">
<p>Hi Bobby,</p>
<p>Hi Bobby,</p>
<p>Your account <strong>bobby</strong> has been suspended by <stron=
g>rob</strong>.</p>
</div>
Expand Down
Loading