Skip to content

Commit

Permalink
Add Mastodon link to server email templates (#23309)
Browse files Browse the repository at this point in the history
- Adds a link to FleetDM's Mastodon account to emails sent by the
FleetDM server
- Adds a Mastodon PNG image to the repo
  • Loading branch information
jc0b authored Dec 16, 2024
1 parent cc2faac commit 78cab5b
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/23309-mastodon-in-email-templates
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Added Mastodon icon and URL to server email templates.
7 changes: 7 additions & 0 deletions server/mail/templates/change_email_confirmation.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ <h1>Confirm your updated email address</h1>
src="{{.AssetURL}}/fleet-mark-color-40x40@2x.png"
/>
</a>
<a href="https://discuss.systems/@Fleet" target="_blank">
<img
alt="Mastodon logo"
style="height: 20px; width: 20px; padding-right: 20px"
src="{{.AssetURL}}/mastodon-logo-50x40@2x.png"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="X logo"
Expand Down
7 changes: 7 additions & 0 deletions server/mail/templates/invite_token.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ <h1>You have been invited to Fleet!</h1>
src="{{.AssetURL}}/fleet-mark-color-40x40@2x.png"
/>
</a>
<a href="https://discuss.systems/@Fleet" target="_blank">
<img
alt="Mastodon logo"
style="height: 20px; width: 20px; padding-right: 20px"
src="{{.AssetURL}}/mastodon-logo-50x40@2x.png"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="X logo"
Expand Down
7 changes: 7 additions & 0 deletions server/mail/templates/mfa.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ <h1>Log in to Fleet</h1>
src="{{.AssetURL}}/fleet-mark-color-40x40@2x.png"
/>
</a>
<a href="https://discuss.systems/@Fleet" target="_blank">
<img
alt="Mastodon logo"
style="height: 20px; width: 20px; padding-right: 20px"
src="{{.AssetURL}}/mastodon-logo-50x40@2x.png"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="X logo"
Expand Down
7 changes: 7 additions & 0 deletions server/mail/templates/password_reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ <h1>Reset your Fleet password</h1>
src="{{.AssetURL}}/fleet-mark-color-40x40@2x.png"
/>
</a>
<a href="https://discuss.systems/@Fleet" target="_blank">
<img
alt="Mastodon logo"
style="height: 20px; width: 20px; padding-right: 20px"
src="{{.AssetURL}}/mastodon-logo-50x40@2x.png"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="X logo"
Expand Down
7 changes: 7 additions & 0 deletions server/mail/templates/smtp_setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ <h1>Fleet SMTP setup confirmed</h1>
src="{{.AssetURL}}/fleet-mark-color-40x40@2x.png"
/>
</a>
<a href="https://discuss.systems/@Fleet" target="_blank">
<img
alt="Mastodon logo"
style="height: 20px; width: 20px; padding-right: 20px"
src="{{.AssetURL}}/mastodon-logo-50x40@2x.png"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="X logo"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 78cab5b

Please sign in to comment.