Commit graph

19 commits

Author SHA1 Message Date
Pēteris Caune
dc0ea1e8ce
Remove unused bits from the base email template 2021-10-18 18:58:39 +03:00
Pēteris Caune
642d436ae9
Add absolute_site_logo_url template tag
This commit adds a {% absolute_site_logo_url %} template tag.
The tag emits an absolute url pointing to either
SITE_LOGO_URL or to the fallback picture.

The tag is used in base email template, in slack message
template, and in "Add MS Teams" page.

This commit also fixes a couple instances where absolute URLs
were constructed like so:

    {% site_root %}/docs/

This would result in incorrect links if Healthchecks is not
running at webserver's root. The correct way is:

    {% site_root %}{% url 'hc-docs' %}

Finally, this commit removes stuff/logo.svg and
stuff/logo-full.svg. Selfhosted sites should not use the
official Healthchecks.io logos, so no point keeping them around
there.
2021-08-13 14:57:15 +03:00
Pēteris Caune
484c0befbc
Fix email template to use SITE_LOGO_URL (with img/logo.png fallback)
Fixes: #550
2021-08-13 14:21:20 +03:00
Pēteris Caune
17a404f04b
Fix email template to always show the current year in the footer 2021-01-01 22:43:00 +02:00
Pēteris Caune
bf3df906f7
Tweak email CSS for nicer display in dark mode 2020-12-29 17:50:26 +02:00
Pēteris Caune
52a178242b
2019 -> 2020. Cheers! 2020-01-02 10:10:20 +02:00
Pēteris Caune
3b3ae8a82c
2018 -> 2019 in email footer 2019-04-25 21:31:53 +03:00
Pēteris Caune
eaba39d99b
Tweak HTML markup in alert emails for Gmail 2018-11-27 18:37:53 +02:00
Pēteris Caune
01d94176dd
Tweak HTML and CSS in alert emails. 2018-11-14 11:04:48 +02:00
Pēteris Caune
1b664a6b54
Wider content area in emails 2018-08-20 19:29:21 +03:00
Pēteris Caune
c4b316003d Replace healthchecks.io branding with generic branding. 2018-01-13 19:21:43 +02:00
Pēteris Caune
56aa1b2b1f Document settelegramwebhook in README, and 2017->2018 2018-01-02 15:29:35 +02:00
Pēteris Caune
8d956b3365 email template from Litmus. CSS already inlined, so dropping premailer dependency. 2017-01-15 13:10:08 +02:00
Pēteris Caune
d0f9a624ed 2016->2017 2017-01-05 16:18:26 +02:00
James Moore
537b7c7541 fixed a few instances where the hc_extras wasn't loaded 2016-09-22 16:11:20 -07:00
James Moore
b1bb1540b8 adds a SITE_NAME setting that's used to label the site 2016-09-22 13:40:35 -07:00
Pēteris Caune
99434fcf9c Correct path to logo 2016-06-25 06:05:11 +03:00
Pēteris Caune
2df92c9c9e Nicer html report 2016-06-25 05:27:28 +03:00
Pēteris Caune
e612eda0f8 Nicer login email. 2016-06-06 16:21:42 +03:00