Skip to content
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

Add Mastodon link to server email templates #23309

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 10 additions & 0 deletions assets/images/mastodon-logo.svg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like other logos are .png and named <something>-logo-<dimensions>@2x.png — we should follow those conventions

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I just took the SVG from Mastodon's brand toolkit. Because these are vector graphics it didn't really feel appropriate to add a resolution (as it technically doesn't have one). I can convert it to PNG of the same size if that's more desirable.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked and there are a few other SVG graphics in that same directory. Let me know if you want the Mastodon one converted to a 48x48 PNG :)

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.svg"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="Twitter 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 @@ -173,6 +173,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.svg"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="Twitter 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.svg"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="Twitter 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.svg"
/>
</a>
<a href="https://twitter.com/fleetctl" target="_blank">
<img
alt="Twitter logo"
Expand Down
Loading