0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-08 14:40:05 +00:00
healthchecks_healthchecks/templates/emails
cocide e66725e23f Added formatting on ping.body in emails
Not all email clients are formatting the `ping.body` contents uniformly. Even using different applications from the same email provider results in a different display of the `ping.body` contents. There are two basic issues:
* Not all email clients are honoring the fixed-width font that should be used inside `<pre>` tags. Using fixed-width font is listed in the definition on https://www.w3schools.com/tags/tag_pre.asp
* Not all email clients are displaying the text with a 1em line height. This was a recent change to the healthchecks WebUI in 9fd9c8e4ef but is not part of the definition of the `<pre>` tag. I'd like to add this to the emails to make Healthchecks more uniform between the website and the email notification.

Gmail Webmail:
- [x] Is using fixed-width font
- [ ] Line height is set by the webmail client to 18px
Gmail Android App:
- [ ] Text is not fixed-width
- [ ] Line height has extra padding

ProtonMail Webmail:
- [x] Is using fixed-width font
- [x] Line height is correct
ProtonMail Android:
- [ ] Text is not fixed width
- [ ] Line height has extra padding

The testing I performed is not extensive, but it does show how multiple clients are displaying the contents differently. To make the display of the `ping.body` more uniform I'd like to add a bit of formatting information to the `<pre>` tag.
2021-03-08 12:38:48 +02:00
..
alert-body-html.html Added formatting on ping.body in emails 2021-03-08 12:38:48 +02:00
alert-body-text.html Replace details_url with cloaked_url in email and chat notifications 2021-03-04 16:55:05 +02:00
alert-subject.html Don't escape HTML in the subject line of notification emails 2020-03-25 17:18:14 +02:00
base.html Fix email template to always show the current year in the footer 2021-01-01 22:43:00 +02:00
deletion-notice-body-html.html Management command for sending inactive account notifications 2019-03-13 00:38:34 +02:00
deletion-notice-body-text.html Management command for sending inactive account notifications 2019-03-13 00:38:34 +02:00
deletion-notice-subject.html Management command for sending inactive account notifications 2019-03-13 00:38:34 +02:00
invoice-body-html.html Tweak HTML and CSS in alert emails. 2018-11-14 11:04:48 +02:00
invoice-body-text.html Invoices to email. 2018-01-09 16:45:38 +02:00
invoice-subject.html Invoices to email. 2018-01-09 16:45:38 +02:00
login-body-html.html Move project-specific settings to a new "Project Settings" page 2019-01-22 15:44:54 +02:00
login-body-text.html Move project-specific settings to a new "Project Settings" page 2019-01-22 15:44:54 +02:00
login-subject.html Move project-specific settings to a new "Project Settings" page 2019-01-22 15:44:54 +02:00
phone-call-limit-body-html.html SMS and phone calls now have separate "limit reached" email templates. 2020-08-03 18:00:48 +03:00
phone-call-limit-body-text.html SMS and phone calls now have separate "limit reached" email templates. 2020-08-03 18:00:48 +03:00
phone-call-limit-subject.html SMS and phone calls now have separate "limit reached" email templates. 2020-08-03 18:00:48 +03:00
report-body-html.html Remove unused ask=1 parameters. 2019-12-10 09:27:30 +02:00
report-body-text.html Adding an option to send daily or hourly reminders if any check is down. Fixes 2017-10-14 16:03:56 +03:00
report-subject.html Adding an option to send daily or hourly reminders if any check is down. Fixes 2017-10-14 16:03:56 +03:00
sms-limit-body-html.html 5 SMS & WhatsApp sends/mo for free plans 2019-10-30 18:31:10 +02:00
sms-limit-body-text.html 5 SMS & WhatsApp sends/mo for free plans 2019-10-30 18:31:10 +02:00
sms-limit-subject.html SMS and phone calls now have separate "limit reached" email templates. 2020-08-03 18:00:48 +03:00
sudo-code-body-html.html Add require_sudo_mode decorator 2020-11-13 11:08:06 +02:00
sudo-code-body-text.html Add require_sudo_mode decorator 2020-11-13 11:08:06 +02:00
sudo-code-subject.html Add require_sudo_mode decorator 2020-11-13 11:08:06 +02:00
summary-downtimes-html.html Fix downtime summary to handle months when the check didn't exist 2021-02-03 14:27:06 +02:00
summary-html.html Replace details_url with cloaked_url in email and chat notifications 2021-03-04 16:55:05 +02:00
summary-text.html Refactor: change Check.get_status(with_started=...) default value from True to False (with_started=False is or will be useful in more places) 2020-06-25 15:23:59 +03:00
transfer-request-body-html.html Send an "Ownership Transfer Request" email notification. 2020-04-13 15:04:59 +03:00
transfer-request-body-text.html Send an "Ownership Transfer Request" email notification. 2020-04-13 15:04:59 +03:00
transfer-request-subject.html Send an "Ownership Transfer Request" email notification. 2020-04-13 15:04:59 +03:00
verify-email-body-html.html made changes more concise 2016-09-22 14:56:15 -07:00
verify-email-body-text.html made changes more concise 2016-09-22 14:56:15 -07:00
verify-email-subject.html made changes more concise 2016-09-22 14:56:15 -07:00