- Please pick a password for your {% settings_value "SITE_NAME" %} account.
+ Please pick a password for your {% site_name %} account.
diff --git a/templates/base.html b/templates/base.html
index aea3f580..1d53c866 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -3,7 +3,7 @@
You will be able to manage their
existing monitoring checks and set up new ones. If you already have your
@@ -15,7 +15,7 @@
accounts.
{% endif %}
-
@@ -35,7 +35,7 @@
Thanks,
The Healthchecks.io Team
P.S. Need help getting started? Check out our
- help documentation.
+ help documentation.
Or, just reply to this email with any questions or issues you have.
diff --git a/templates/emails/login-body-text.html b/templates/emails/login-body-text.html
index 7158bcb5..24dc49cd 100644
--- a/templates/emails/login-body-text.html
+++ b/templates/emails/login-body-text.html
@@ -1,19 +1,19 @@
{% load hc_extras %}
{% block content %}Hello,
{% if inviting_profile %}
-{{ inviting_profile }} invites you to their {% settings_value "SITE_NAME" %} account.
+{{ inviting_profile }} invites you to their {% site_name %} account.
You will be able to manage their existing monitoring checks and set up new
-ones. If you already have your own account on {% settings_value "SITE_NAME" %}, you will
+ones. If you already have your own account on {% site_name %}, you will
be able to switch between the two accounts.{% endif %}
-To log into {% settings_value "SITE_NAME" %}, please open the link below:
+To log into {% site_name %}, please open the link below:
{{ login_link }}
Thanks,
-The {% settings_value "SITE_NAME" %} Team
+The {% site_name %} Team
P.S. Need help getting started? Check out our help documentation
-at {% settings_value "SITE_ROOT" %}/docs/
+at {% site_root %}/docs/
Or, just reply to this email with any questions or issues you have.
{% endblock %}
diff --git a/templates/emails/login-subject.html b/templates/emails/login-subject.html
index 6f19691e..5b5940c0 100644
--- a/templates/emails/login-subject.html
+++ b/templates/emails/login-subject.html
@@ -1,6 +1,6 @@
{% load hc_extras %}
{% if inviting_profile %}
- You have been invited to join {{ inviting_profile }} on {% settings_value "SITE_NAME" %}
+ You have been invited to join {{ inviting_profile }} on {% site_name %}
{% else %}
- Log in to {% settings_value "SITE_NAME" %}
+ Log in to {% site_name %}
{% endif %}
diff --git a/templates/emails/report-body-html.html b/templates/emails/report-body-html.html
index dca5ebc0..f7bc118d 100644
--- a/templates/emails/report-body-html.html
+++ b/templates/emails/report-body-html.html
@@ -4,7 +4,7 @@
{% block content %}
Hello,
-This is a monthly report sent by {% settings_value "SITE_NAME" %}.
+This is a monthly report sent by {% site_name %}.
{% include "emails/summary-html.html" %}
diff --git a/templates/emails/report-body-text.html b/templates/emails/report-body-text.html
index 48d67b63..db51f1d8 100644
--- a/templates/emails/report-body-text.html
+++ b/templates/emails/report-body-text.html
@@ -1,11 +1,11 @@
{% load hc_extras %}
Hello,
-This is a monthly report sent by {% settings_value "SITE_NAME" %}.
+This is a monthly report sent by {% site_name %}.
{% include 'emails/summary-text.html' %}
--
Cheers,
-{% settings_value "SITE_NAME" %}
+{% site_name %}
diff --git a/templates/emails/set-password-body-html.html b/templates/emails/set-password-body-html.html
index 9975ace3..ef754add 100644
--- a/templates/emails/set-password-body-html.html
+++ b/templates/emails/set-password-body-html.html
@@ -1,11 +1,11 @@
{% load hc_extras %}
Hello,
-Here's a link to set a password for your account on {% settings_value "SITE_NAME" %}:
+Here's a link to set a password for your account on {% site_name %}:
{{ set_password_link }}
--
Regards,
- {% settings_value "SITE_NAME" %}
+ {% site_name %}
diff --git a/templates/emails/set-password-body-text.html b/templates/emails/set-password-body-text.html
index a0aebdf1..fc7ea72b 100644
--- a/templates/emails/set-password-body-text.html
+++ b/templates/emails/set-password-body-text.html
@@ -1,11 +1,11 @@
{% load hc_extras %}
Hello,
-Here's a link to set a password for your account on {% settings_value "SITE_NAME" %}:
+Here's a link to set a password for your account on {% site_name %}:
{{ set_password_link }}
--
Regards,
-{% settings_value "SITE_NAME" %}
+{% site_name %}
diff --git a/templates/emails/set-password-subject.html b/templates/emails/set-password-subject.html
index c920def6..db5267fb 100644
--- a/templates/emails/set-password-subject.html
+++ b/templates/emails/set-password-subject.html
@@ -1,2 +1,2 @@
{% load hc_extras %}
-Set password on {% settings_value "SITE_NAME" %}
+Set password on {% site_name %}
diff --git a/templates/emails/verify-email-body-html.html b/templates/emails/verify-email-body-html.html
index 3cd97d2e..b4d13785 100644
--- a/templates/emails/verify-email-body-html.html
+++ b/templates/emails/verify-email-body-html.html
@@ -1,12 +1,12 @@
{% load hc_extras %}
Hello,
-To start receiving {% settings_value "SITE_NAME" %} notification to this address,
+
To start receiving {% site_name %} notification to this address,
please click the link below:
{{ verify_link }}
--
Regards,
- {% settings_value "SITE_NAME" %}
+ {% site_name %}
diff --git a/templates/emails/verify-email-body-text.html b/templates/emails/verify-email-body-text.html
index 04f72187..f47167bf 100644
--- a/templates/emails/verify-email-body-text.html
+++ b/templates/emails/verify-email-body-text.html
@@ -1,11 +1,11 @@
{% load hc_extras %}
Hello,
-To start receiving {% settings_value "SITE_NAME" %} notification to this address,
+To start receiving {% site_name %} notification to this address,
please follow the link below:
{{ verify_link }}
--
Regards,
-{% settings_value "SITE_NAME" %}
+{% site_name %}
diff --git a/templates/emails/verify-email-subject.html b/templates/emails/verify-email-subject.html
index 93b7d49b..70442948 100644
--- a/templates/emails/verify-email-subject.html
+++ b/templates/emails/verify-email-subject.html
@@ -1,2 +1,2 @@
{% load hc_extras %}
-Verify email address on {% settings_value "SITE_NAME" %}
+Verify email address on {% site_name %}
diff --git a/templates/front/channels.html b/templates/front/channels.html
index 46e7aec5..9f5bb85c 100644
--- a/templates/front/channels.html
+++ b/templates/front/channels.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Integrations - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Integrations - {% site_name %}{% endblock %}
{% block content %}
diff --git a/templates/front/docs.html b/templates/front/docs.html
index b3d2b495..144bdb77 100644
--- a/templates/front/docs.html
+++ b/templates/front/docs.html
@@ -1,7 +1,7 @@
{% extends "front/base_docs.html" %}
{% load staticfiles %}
-{% block title %}Documentation - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Documentation - {% site_name %}{% endblock %}
{% block docs_content %}
@@ -12,7 +12,7 @@ page has an unique "ping" URL. Whenever you access this URL,
the "Last Ping" value of corresponding check is updated.
When a certain amount of time passes since last received ping, the
-check is considered "late", and {% settings_value "SITE_NAME" %} sends an email alert.
+check is considered "late", and {% site_name %} sends an email alert.
It is a simple idea.
Executing a Ping
@@ -128,7 +128,7 @@ thing: they fire off a HTTP GET method.
Browser
- {% settings_value "SITE_NAME" %} includes Access-Control-Allow-Origin:*
+ {% site_name %} includes Access-Control-Allow-Origin:*
CORS header in its ping responses, so cross-domain AJAX requests
should work.
@@ -139,9 +139,9 @@ thing: they fire off a HTTP GET method.
You can use PowerShell
and Windows Task Scheduler to automate various tasks on a Windows system.
- From within a PowerShell script it is also easy to ping {% settings_value "SITE_NAME" %}.
+ From within a PowerShell script it is also easy to ping {% site_name %}.
-Here is a simple PowerShell script that pings {% settings_value "SITE_NAME" %}.
+
Here is a simple PowerShell script that pings {% site_name %}.
When scheduled to run with Task Scheduler, it will essentially
just send regular "I'm alive" messages. You can of course extend it to
do more things.
@@ -240,7 +240,7 @@ powershell.exe -ExecutionPolicy bypass -File C:\Scripts\healthchecks.ps1
Down.
Time since last ping has exceeded Period + Grace.
- When check goes from "Late" to "Down", {% settings_value "SITE_NAME" %}
+ When check goes from "Late" to "Down", {% site_name %}
sends you an alert.
|
diff --git a/templates/front/docs_api.html b/templates/front/docs_api.html
index 0db87fdb..2df52045 100644
--- a/templates/front/docs_api.html
+++ b/templates/front/docs_api.html
@@ -1,7 +1,7 @@
{% extends "front/base_docs.html" %}
{% load staticfiles %}
-{% block title %}REST API - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}REST API - {% site_name %}{% endblock %}
{% block docs_content %}
@@ -17,7 +17,7 @@ This is early days for healtchecks.io REST API. For now, there's API calls to:
Authentication
Your requests to healtchecks.io REST API must authenticate using an
-API key. By default, an user account on {% settings_value "SITE_NAME" %} doesn't have
+API key. By default, an user account on {% site_name %} doesn't have
an API key. You can create one in the Settings page.
@@ -34,7 +34,7 @@ its value should be your API key.
API Requests
-For POST requests, the {% settings_value "SITE_NAME" %} API expects request body to be
+For POST requests, the {% site_name %} API expects request body to be
a JSON document (not a mulitpart/form-data
encoded
form data).
@@ -42,7 +42,7 @@ form data).
API Responses
-{% settings_value "SITE_NAME" %} uses HTTP status codes wherever possible.
+{% site_name %} uses HTTP status codes wherever possible.
In general, 2xx class indicates success, 4xx indicates an client error,
and 5xx indicates a server error.
diff --git a/templates/front/log.html b/templates/front/log.html
index 0ac19db1..fe100d69 100644
--- a/templates/front/log.html
+++ b/templates/front/log.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}My Checks - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}My Checks - {% site_name %}{% endblock %}
{% block content %}
diff --git a/templates/front/my_checks.html b/templates/front/my_checks.html
index 07087fd0..75a86ad8 100644
--- a/templates/front/my_checks.html
+++ b/templates/front/my_checks.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress staticfiles hc_extras %}
-{% block title %}My Checks - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}My Checks - {% site_name %}{% endblock %}
{% block content %}
diff --git a/templates/front/verify_email_success.html b/templates/front/verify_email_success.html
index 11b917e2..e566a0e2 100644
--- a/templates/front/verify_email_success.html
+++ b/templates/front/verify_email_success.html
@@ -10,7 +10,7 @@
Success! You've verified this email
address, and it will now receive
- {% settings_value "SITE_NAME" %} notifications.
+ {% site_name %} notifications.
diff --git a/templates/integrations/add_email.html b/templates/integrations/add_email.html
index b8ad5472..5da69e3b 100644
--- a/templates/integrations/add_email.html
+++ b/templates/integrations/add_email.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Notification Channels - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Notification Channels - {% site_name %}{% endblock %}
{% block content %}
@@ -18,7 +18,7 @@
Confirmation needed.
- After entering an email address, {% settings_value "SITE_NAME" %} will send out a confirmation link.
+ After entering an email address, {% site_name %} will send out a confirmation link.
Only confirmed addresses will receive notifications.
diff --git a/templates/integrations/add_hipchat.html b/templates/integrations/add_hipchat.html
index 2d21cfab..d0a2b8d3 100644
--- a/templates/integrations/add_hipchat.html
+++ b/templates/integrations/add_hipchat.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Notification Channels - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Notification Channels - {% site_name %}{% endblock %}
{% block content %}
@@ -10,7 +10,7 @@
HipChat
If your team uses HipChat,
- you can set up {% settings_value "SITE_NAME" %} to post status updates directly to an
+ you can set up {% site_name %} to post status updates directly to an
appropriate HipChat room.
Setup Guide
diff --git a/templates/integrations/add_pd.html b/templates/integrations/add_pd.html
index 8ef65cae..62eb172d 100644
--- a/templates/integrations/add_pd.html
+++ b/templates/integrations/add_pd.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Add PagerDuty - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Add PagerDuty - {% site_name %}{% endblock %}
{% block content %}
@@ -13,7 +13,7 @@
a well-known incident management system. It provides
alerting, on-call scheduling, escalation policies and incident tracking.
If you use or plan on using PagerDuty, you can can integrate it
- with your {% settings_value "SITE_NAME" %} account in few simple steps.
+ with your {% site_name %} account in few simple steps.
Setup Guide
diff --git a/templates/integrations/add_pushbullet.html b/templates/integrations/add_pushbullet.html
index 1dd08ad7..b36afbd8 100644
--- a/templates/integrations/add_pushbullet.html
+++ b/templates/integrations/add_pushbullet.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Add Pushbullet - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Add Pushbullet - {% site_name %}{% endblock %}
{% block content %}
@@ -11,7 +11,7 @@
- With this integration, {% settings_value "SITE_NAME" %} will send
+ With this integration, {% site_name %} will send
a Pushbullet
notification when a check
goes up or down.
diff --git a/templates/integrations/add_pushover.html b/templates/integrations/add_pushover.html
index 4136c9e3..56ba3f65 100644
--- a/templates/integrations/add_pushover.html
+++ b/templates/integrations/add_pushover.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Add Pushover - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Add Pushover - {% site_name %}{% endblock %}
{% block content %}
@@ -12,7 +12,7 @@
Pushover is a service to receive
instant push notifications on your phone or tablet from a variety of
sources. If you bought the app on your mobile device, you can integrate it
- with your {% settings_value "SITE_NAME" %} account in a few simple steps.
+ with your {% site_name %} account in a few simple steps.
Integration Settings
diff --git a/templates/integrations/add_slack.html b/templates/integrations/add_slack.html
index 42cdfad5..e7d48ba2 100644
--- a/templates/integrations/add_slack.html
+++ b/templates/integrations/add_slack.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Add Slack - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Add Slack - {% site_name %}{% endblock %}
{% block content %}
@@ -12,7 +12,7 @@
{% if request.user.is_authenticated %}
If your team uses Slack, you can set
- up {% settings_value "SITE_NAME" %} to post status updates directly to an appropriate
+ up {% site_name %} to post status updates directly to an appropriate
Slack channel.
@@ -27,7 +27,7 @@
open source
service for monitoring your cron jobs, background processes and
scheduled tasks. Before adding Slack integration, please log into
- {% settings_value "SITE_ROOT" %}:
+ {% site_root %}:
@@ -112,7 +112,7 @@
Slack
If your team uses Slack, you can set
- up {% settings_value "SITE_NAME" %} to post status updates directly to an appropriate
+ up {% site_name %} to post status updates directly to an appropriate
Slack channel.
Setup Guide
diff --git a/templates/integrations/add_victorops.html b/templates/integrations/add_victorops.html
index 5f207d26..460df783 100644
--- a/templates/integrations/add_victorops.html
+++ b/templates/integrations/add_victorops.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Add VictorOps - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Add VictorOps - {% site_name %}{% endblock %}
{% block content %}
@@ -12,7 +12,7 @@
VictorOps is
another incident management system similar to PagerDuty.
If you use or plan on using VictorOps, you can can integrate it
- with your {% settings_value "SITE_NAME" %} account in few simple steps.
+ with your {% site_name %} account in few simple steps.
Setup Guide
@@ -22,7 +22,7 @@
Log into your VictorOps account,
go to Settings > Schedules,
and find or create the Team Schedule you
- would like to use for {% settings_value "SITE_NAME" %} alerts.
+ would like to use for {% site_name %} alerts.
diff --git a/templates/integrations/add_webhook.html b/templates/integrations/add_webhook.html
index c2375a04..a9927f90 100644
--- a/templates/integrations/add_webhook.html
+++ b/templates/integrations/add_webhook.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
-{% block title %}Add Webhook - {% settings_value "SITE_NAME" %}{% endblock %}
+{% block title %}Add Webhook - {% site_name %}{% endblock %}
{% block content %}
@@ -40,7 +40,7 @@
http://requestb.in/1hhct291?message=$NAME:$STATUS
- After encoding and replacing the variables, {% settings_value "SITE_NAME" %} would then call:
+ After encoding and replacing the variables, {% site_name %} would then call:
http://requestb.in/1hhct291?message=My%20Check:down
diff --git a/templates/integrations/slack_message.json b/templates/integrations/slack_message.json
index 40c3e316..6f5a0c3e 100644
--- a/templates/integrations/slack_message.json
+++ b/templates/integrations/slack_message.json
@@ -1,7 +1,7 @@
{% load hc_extras humanize %}
{
- "username": "{% settings_value "SITE_NAME" %}",
- "icon_url": "{% settings_value "SITE_ROOT" %}/static/img/logo@2x.png",
+ "username": "{% site_name %}",
+ "icon_url": "{% site_root %}/static/img/logo@2x.png",
"attachments": [{
{% if check.status == "up" %}
"color": "good",