Browse Source

{% site_name %} -> {{ site_name }} so we can use blocktrans tags for L10N

pull/406/head
Pēteris Caune 3 years ago
parent
commit
519a666057
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
  1. 5
      hc/front/context_processors.py
  2. 10
      hc/settings.py
  3. 2
      templates/accounts/billing.html
  4. 2
      templates/accounts/change_email.html
  5. 6
      templates/accounts/check_token_submit.html
  6. 8
      templates/accounts/login.html
  7. 2
      templates/accounts/notifications.html
  8. 6
      templates/accounts/profile.html
  9. 2
      templates/accounts/set_password.html
  10. 2
      templates/accounts/unsubscribed.html
  11. 10
      templates/base.html
  12. 2
      templates/base_bare.html
  13. 6
      templates/front/badges.html
  14. 2
      templates/front/base_docs.html
  15. 4
      templates/front/channels.html
  16. 6
      templates/front/docs_cron.html
  17. 2
      templates/front/docs_single.html
  18. 2
      templates/front/filtering_rules_modal.html
  19. 2
      templates/front/log.html
  20. 2
      templates/front/projects.html
  21. 2
      templates/front/unsubscribe_success.html
  22. 2
      templates/front/verify_email_success.html
  23. 28
      templates/front/welcome.html
  24. 2
      templates/integrations/add_apprise.html
  25. 4
      templates/integrations/add_discord.html
  26. 4
      templates/integrations/add_email.html
  27. 6
      templates/integrations/add_matrix.html
  28. 4
      templates/integrations/add_mattermost.html
  29. 6
      templates/integrations/add_msteams.html
  30. 4
      templates/integrations/add_opsgenie.html
  31. 4
      templates/integrations/add_pagertree.html
  32. 4
      templates/integrations/add_pd.html
  33. 12
      templates/integrations/add_pdc.html
  34. 8
      templates/integrations/add_prometheus.html
  35. 4
      templates/integrations/add_pushbullet.html
  36. 4
      templates/integrations/add_pushover.html
  37. 12
      templates/integrations/add_pushover_help.html
  38. 4
      templates/integrations/add_shell.html
  39. 4
      templates/integrations/add_slack.html
  40. 20
      templates/integrations/add_slack_btn.html
  41. 2
      templates/integrations/add_sms.html
  42. 4
      templates/integrations/add_spike.html
  43. 10
      templates/integrations/add_telegram.html
  44. 4
      templates/integrations/add_trello.html
  45. 6
      templates/integrations/add_victorops.html
  46. 2
      templates/integrations/add_whatsapp.html
  47. 10
      templates/integrations/add_zulip.html
  48. 12
      templates/payments/pricing.html
  49. 2
      templates/payments/pricing_not_owner.html

5
hc/front/context_processors.py

@ -0,0 +1,5 @@
from django.conf import settings
def branding(request):
return {"site_name": settings.SITE_NAME, "site_root": settings.SITE_ROOT}

10
hc/settings.py

@ -87,6 +87,7 @@ TEMPLATES = [
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
"hc.front.context_processors.branding",
"hc.payments.context_processors.payments",
]
},
@ -141,13 +142,10 @@ if os.getenv("DB") == "mysql":
}
}
TIME_ZONE = "UTC"
USE_I18N = False
USE_L10N = False
USE_TZ = True
TIME_ZONE = "UTC"
USE_I18N = True
USE_L10N = True
SITE_ROOT = os.getenv("SITE_ROOT", "http://localhost:8000")
SITE_NAME = os.getenv("SITE_NAME", "Mychecks")

2
templates/accounts/billing.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress static hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %}
{% block title %}Account Settings - {{ site_name }}{% endblock %}
{% block content %}
<div class="row">

2
templates/accounts/change_email.html

@ -16,7 +16,7 @@
</strong>
Otherwise, you may get locked out of
your {% site_name %} account.
your {{ site_name }} account.
</p>
{% if request.user.has_usable_password %}

6
templates/accounts/check_token_submit.html

@ -3,7 +3,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Continue to {% site_name %}</title>
<title>Continue to {{ site_name }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
@ -36,7 +36,7 @@
}
</style>
<p>You are about to log into {% site_name %}.</p>
<p>You are about to log into {{ site_name }}.</p>
<p>Please press the button below to continue:</p>
<br />
<form method="post">
@ -45,7 +45,7 @@
id="submit-btn"
type="submit"
class="btn btn-lg btn-primary"
value="Continue to {% site_name %}">
value="Continue to {{ site_name }}">
</form>
</body>

8
templates/accounts/login.html

@ -1,19 +1,19 @@
{% extends "base.html" %}
{% load compress hc_extras static %}
{% load compress static %}
{% block title %}Sign In - {% site_name %}{% endblock %}
{% block title %}Sign In - {{ site_name }}{% endblock %}
{% block description %}{% endblock %}
{% block head %}
<link rel="canonical" href="{% site_root %}{% url 'hc-login' %}" />
<link rel="canonical" href="{{ site_root }}{% url 'hc-login' %}" />
{% endblock %}
{% block content %}
<div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-12 col-sm-offset-0 col-lg-8 col-lg-offset-2">
<h1>Sign In to {% site_name %}</h1>
<h1>Sign In to {{ site_name }}</h1>
{% if bad_link %}
<div class="alert alert-warning">
<p>The login link you just used is either incorrect or expired.</p>

2
templates/accounts/notifications.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %}
{% block title %}Account Settings - {{ site_name }}{% endblock %}
{% block content %}
<div class="row">

6
templates/accounts/profile.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress static hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %}
{% block title %}Account Settings - {{ site_name }}{% endblock %}
{% block content %}
@ -49,7 +49,7 @@
</p>
<p class="clearfix"></p>
<p>
Attach a password to your {% site_name %} account
Attach a password to your {{ site_name }} account
<button
type="submit"
name="set_password"
@ -132,7 +132,7 @@
class="btn btn-default pull-right"
data-toggle="modal"
data-target="#close-account-modal">Close Account</a>
This will permanently remove your {% site_name %} account
This will permanently remove your {{ site_name }} account
</div>
</div>
</div>

2
templates/accounts/set_password.html

@ -8,7 +8,7 @@
<h1>Set a Password</h1>
<div class="dialog-body">
<p>
Please pick a password for your {% site_name %} account.
Please pick a password for your {{ site_name }} account.
</p>
</div>

2
templates/accounts/unsubscribed.html

@ -7,6 +7,6 @@
<h1>Unsubscribed</h1>
<p>
Your email address has been unsubscribed from
{% site_name %} reports.
{{ site_name }} reports.
</p>
{% endblock %}

10
templates/base.html

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block title %}{% site_name %} - Monitor Cron Jobs. Get Notified When Your Cron Jobs Fail{% endblock %}</title>
<title>{% block title %}{{ site_name }} - Monitor Cron Jobs. Get Notified When Your Cron Jobs Fail{% endblock %}</title>
{% block description %}
<meta name="description" content="Monitor and Get Notified When Your Cron Jobs Fail. Free alternative to Cronitor and Dead Man's Snitch.">
{% endblock %}
@ -10,8 +10,8 @@
<meta name="keywords" content="healthchecks, monitor cron jobs, cron monitoring, cron job syntax, health checks, crontab cheat sheet, crontab monitoring, cronjob monitoring, cron dashboard">
{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="{% site_name %}">
<meta name="application-name" content="{% site_name %}">
<meta name="apple-mobile-web-app-title" content="{{ site_name }}">
<meta name="application-name" content="{{ site_name }}">
<link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/apple-touch-180.png' %}">
{% block head %}{% endblock %}
@ -79,7 +79,7 @@
width="59"
src="{% static 'img/logo.png'%}"
srcset="{% static 'img/logo.png'%} 1x, {% static 'img/logo@2x.png'%} 2x"
alt="{% site_name %}">
alt="{{ site_name }}">
{% else %}
<img
id="logo"
@ -87,7 +87,7 @@
width="200"
src="{% static 'img/logo-full.png'%}"
srcset="{% static 'img/logo-full.png'%} 1x, {% static 'img/logo-full@2x.png'%} 2x"
alt="{% site_name %}">
alt="{{ site_name }}">
{% endif %}
</a>
</div>

2
templates/base_bare.html

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block title %}{% site_name %}{% endblock %}</title>
<title>{% block title %}{{ site_name }}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">

6
templates/front/badges.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress static hc_extras %}
{% block title %}Status Badges - {% site_name %}{% endblock %}
{% block title %}Status Badges - {{ site_name }}{% endblock %}
{% block content %}
<div class="row">
@ -9,8 +9,8 @@
<h1>Status Badges</h1>
<p id="badges-description">
{% site_name %} provides status badges for each of the tags
you have used. Additionally, the "{% site_name %}"
{{ site_name }} provides status badges for each of the tags
you have used. Additionally, the "{{ site_name }}"
badge shows the overall status of all checks in a
project. The badges have public, but hard-to-guess
URLs. You can use them in your READMEs,

2
templates/front/base_docs.html

@ -7,7 +7,7 @@
<div class="col-sm-3">
<ul class="docs-nav">
<li class="nav-header">{% site_name %}</li>
<li class="nav-header">{{ site_name }}</li>
<li {% if section == "introduction" %} class="active"{% endif %}>
<a href="{% url 'hc-docs' %}">Introduction</a>
</li>

4
templates/front/channels.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}Integrations - {% site_name %}{% endblock %}
{% block title %}Integrations - {{ site_name }}{% endblock %}
{% block content %}
@ -160,7 +160,7 @@
<p> The project "{{ project }}" does not have any integrations
set up yet.
</p>
<p>With no configured integrations, {% site_name %}
<p>With no configured integrations, {{ site_name }}
<strong>will not send any notifications</strong>
when checks change state.
</p>

6
templates/front/docs_cron.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load hc_extras %}
{% block title %}Cron Syntax Cheatsheet - {% site_name %}{% endblock %}
{% block title %}Cron Syntax Cheatsheet - {{ site_name }}{% endblock %}
{% block description %}
<meta name="description" content="Visual examples of main Cron syntax features: numeric values, commas, ranges, ranges with step, day and month names.">
@ -16,7 +16,7 @@
<h2>Cron Syntax Cheatsheet</h2>
<p>
{% site_name %} understands most of the traditional cron syntax features.
{{ site_name }} understands most of the traditional cron syntax features.
Under the hood, it uses the
<a href="https://github.com/taichino/croniter">croniter package</a>
to parse and interpret cron expressions. Below is a showcase of
@ -462,7 +462,7 @@
Cron daemon uses server's <strong>local time</strong>.
If your server's timezone is other than UTC, make sure
to set a matching timezone for your check
on {% site_name %} as well.
on {{ site_name }} as well.
</p>
<p>On Ubuntu systems you can check the server's timezone

2
templates/front/docs_single.html

@ -1,7 +1,7 @@
{% extends "front/base_docs.html" %}
{% load compress static hc_extras %}
{% block title %}{{ first_line|striptags }} - {% site_name %}{% endblock %}
{% block title %}{{ first_line|striptags }} - {{ site_name }}{% endblock %}
{% block description %}{% endblock %}
{% block keywords %}{% endblock %}

2
templates/front/filtering_rules_modal.html

@ -29,7 +29,7 @@
<span class="radiomark"></span>
Only POST
<span class="help-block">
If set, {% site_name %} will ignore HTTP requests
If set, {{ site_name }} will ignore HTTP requests
using any other request method.
</span>
</label>

2
templates/front/log.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}My Checks - {% site_name %}{% endblock %}
{% block title %}Ping Log - {{ site_name }}{% endblock %}
{% block content %}

2
templates/front/projects.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress static hc_extras %}
{% block title %}{% site_name %}{% endblock %}
{% block title %}{{ site_name }}{% endblock %}
{% block content %}

2
templates/front/unsubscribe_success.html

@ -7,6 +7,6 @@
<h1>Unsubscribed</h1>
<p>
Your email address has been unsubscribed from
{% site_name %} notifications.
{{ site_name }} notifications.
</p>
{% endblock %}

2
templates/front/verify_email_success.html

@ -10,7 +10,7 @@
<p>
Success! You've verified this email
address, and it will now receive
{% site_name %} notifications.
{{ site_name }} notifications.
</p>
</div>
</div>

28
templates/front/welcome.html

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load compress hc_extras humanize static %}
{% load compress humanize static %}
{% block description %}
<meta name="description" content="Cron Monitoring. Monitor nightly backups, weekly reports, cron jobs and background tasks. Receive alerts when your tasks don't run on time.">
@ -7,7 +7,7 @@
{% block head %}
<link rel="canonical" href="{% site_root %}" />
<link rel="canonical" href="{{ site_root }}" />
{% endblock %}
{% block containers %}
@ -27,7 +27,7 @@
Make HTTP requests to the Ping URL at regular intervals.
<strong>
When the URL is not pinged on time,
{% site_name %} will send you an alert.
{{ site_name }} will send you an alert.
</strong>
You can monitor any service that can make HTTP requests
@ -37,7 +37,7 @@
<div class="col-sm-6 col-sm-pull-6">
<h2 id="pitch-subtitle">
For each of your periodic tasks,
{% site_name %} provides an unique URL similar to this one:
{{ site_name }} provides an unique URL similar to this one:
</h2>
<div id="pitch-url">
<code>{{ ping_url }}</code>
@ -123,7 +123,7 @@
<strong>sending email messages</strong>.
</p>
<p>
You can instruct {% site_name %} to look for a particular
You can instruct {{ site_name }} to look for a particular
keyword in the subject line. This is handy when your backup
software sends an email after every run, and uses a different
subject line depending on success or failure.
@ -140,7 +140,7 @@
<div class="container">
<div class="row">
<div id="get-started" class="col-sm-8 col-sm-offset-2 text-center">
<h1>{% site_name %} monitors the heartbeat messages sent by your cron jobs, services and APIs.
<h1>{{ site_name }} monitors the heartbeat messages sent by your cron jobs, services and APIs.
Get immediate alerts when they don't arrive on schedule. </h1>
<a href="#" data-toggle="modal" data-target="#signup-modal" class="btn btn-lg btn-primary">
Sign Up – It's Free
@ -236,7 +236,7 @@
<td>
Down.
Time since last ping has exceeded <strong>Period</strong> + <strong>Grace</strong>.
When check goes from "Late" to "Down", {% site_name %}
When check goes from "Late" to "Down", {{ site_name }}
sends you a notification.
</td>
</tr>
@ -302,8 +302,8 @@
<div class="col-sm-4">
<h3>Public Status Badges</h3>
<p>
{% site_name %} provides status badges for each of the tags
you have used. Additionally, the "{% site_name %}" badge
{{ site_name }} provides status badges for each of the tags
you have used. Additionally, the "{{ site_name }}" badge
shows the overall status of all checks in your account.
</p>
<p>
@ -511,11 +511,11 @@
<div class="row tour-section">
<div class="col-sm-12">
<h1 class="text-center">What Can I Monitor With {% site_name %}?</h1>
<h1 class="text-center">What Can I Monitor With {{ site_name }}?</h1>
</div>
<div class="col-sm-6 use-cases">
<h2>Cron Jobs</h2>
<p>{% site_name %} monitoring is a great fit for cron jobs and cron-like systems
<p>{{ site_name }} monitoring is a great fit for cron jobs and cron-like systems
(systemd timers, Jenkins build jobs, Windows Scheduled Tasks, wp-cron, uwsgi cron-like
interface, Heroku Scheduler, ...). A failed cron job often has no immediate visible
consequences, and can go unnoticed for a long time.</p>
@ -534,9 +534,9 @@
<div class="col-sm-6 use-cases">
<h2>Processes, Services, Servers</h2>
<p>{% site_name %} monitoring can be used for lightweight server monitoring:
<p>{{ site_name }} monitoring can be used for lightweight server monitoring:
ensuring a particular system service, or the server as a whole is alive and healthy.
Write a shell script that checks for a specific condition, and pings {% site_name %}
Write a shell script that checks for a specific condition, and pings {{ site_name }}
if successful. Run the shell script regularly.</p>
<p>Specific examples:</p>
@ -557,7 +557,7 @@
<div class="footer-jumbo-bleed">
<div class="col-sm-10 col-sm-offset-1">
<div id="footer-cta" class="jumbotron text-center">
<p>{% site_name %} is a <strong>free</strong> and
<p>{{ site_name }} is a <strong>free</strong> and
<a href="https://github.com/healthchecks/healthchecks">open source</a> service.
Setting up monitoring for your cron jobs only takes minutes.
Start sleeping better at nights!</p>

2
templates/integrations/add_apprise.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Apprise Integration for {% site_name %}{% endblock %}
{% block title %}Apprise Integration for {{ site_name }}{% endblock %}
{% block content %}
<div class="row">

4
templates/integrations/add_discord.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Discord Integration for {% site_name %}{% endblock %}
{% block title %}Discord Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -11,7 +11,7 @@
<div class="jumbotron">
<p>
With this integration, {% site_name %} will send
With this integration, {{ site_name }} will send
a notification to a <a href="http://discord.com/">Discord</a>
channel when a check
goes <strong>up</strong> or <strong>down</strong>.

4
templates/integrations/add_email.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Set Up Email Notifications - {% site_name %}{% endblock %}
{% block title %}Set Up Email Notifications - {{ site_name }}{% endblock %}
{% block content %}
@ -13,7 +13,7 @@
{% if use_verification %}
<p class="alert alert-info">
<strong>Requires confirmation.</strong>
After entering an email address, {% site_name %} will send out a confirmation link.
After entering an email address, {{ site_name }} will send out a confirmation link.
Only confirmed addresses receive notifications.
</p>
{% endif %}

6
templates/integrations/add_matrix.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Matrix Integration for {% site_name %}{% endblock %}
{% block title %}Matrix Integration for {{ site_name }}{% endblock %}
{% block content %}
<div class="row">
@ -10,7 +10,7 @@
<p>
If your team uses <a href="https://matrix.org/">Matrix</a>,
you can set up {% site_name %} to post notifications
you can set up {{ site_name }} to post notifications
to an appropriate Matrix room.
</p>
@ -63,7 +63,7 @@
<p>
{{ matrix_user_id }} will shortly join your room.
After that, you are all set! From now on
{% site_name %} will post notifications
{{ site_name }} will post notifications
to your room when checks go down or up.
</p>
</div>

4
templates/integrations/add_mattermost.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Mattermost Integration for {% site_name %}{% endblock %}
{% block title %}Mattermost Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -11,7 +11,7 @@
<h1>Mattermost</h1>
<p>If your team uses <a href="https://mattermost.com/">Mattermost</a>, you can set
up {% site_name %} to post status updates directly to an appropriate
up {{ site_name }} to post status updates directly to an appropriate
Mattermost channel.</p>
<h2>Setup Guide</h2>

6
templates/integrations/add_msteams.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Microsoft Teams Integration for {% site_name %}{% endblock %}
{% block title %}Microsoft Teams Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -10,7 +10,7 @@
<h1>Microsoft Teams</h1>
<p>If your team uses <a href="https://products.office.com/en-us/microsoft-teams/group-chat-software">Microsoft Teams</a>,
you can set up {% site_name %} to post status updates directly to an appropriate
you can set up {{ site_name }} to post status updates directly to an appropriate
Microsoft Teams channel.</p>
<h2>Setup Guide</h2>
@ -40,7 +40,7 @@
<div class="col-sm-6">
<span class="step-no"></span>
<p>
Select the channel where you want {% site_name %} to post
Select the channel where you want {{ site_name }} to post
notifications.
</p>
</div>

4
templates/integrations/add_opsgenie.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}OpsGenie Integration for {% site_name %}{% endblock %}
{% block title %}OpsGenie Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -11,7 +11,7 @@
<p><a href="https://www.opsgenie.com/">OpsGenie</a> provides
alerting, on-call scheduling, escalation policies and incident tracking.
You can can integrate it with your {% site_name %} account in few
You can can integrate it with your {{ site_name }} account in few
simple steps.</p>
<h2>Setup Guide</h2>

4
templates/integrations/add_pagertree.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}PagerTree Integration for {% site_name %}{% endblock %}
{% block title %}PagerTree Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -10,7 +10,7 @@
<h1>PagerTree</h1>
<p>If your team uses <a href="https://pagertree.com">PagerTree</a>,
you can set up {% site_name %} to create a PagerTree incident when
you can set up {{ site_name }} to create a PagerTree incident when
a check goes down, and resolve it when a check goes back up.</p>
<h2>Setup Guide</h2>

4
templates/integrations/add_pd.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}PagerDuty Integration for {% site_name %}{% endblock %}
{% block title %}PagerDuty Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -11,7 +11,7 @@
<p>
If your team uses <a href="https://www.pagerduty.com/">PagerDuty</a>,
you can set up {% site_name %} to create a PagerDuty incident
you can set up {{ site_name }} to create a PagerDuty incident
when a check goes down, and resolve it when a check goes back up.
</p>

12
templates/integrations/add_pdc.html

@ -1,10 +1,10 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}PagerDuty Integration for {% site_name %}{% endblock %}
{% block title %}PagerDuty Integration for {{ site_name }}{% endblock %}
{% block description %}
<meta name="description" content="Use {% site_name %} with PagerDuty: configure {% site_name %} to create a PagerDuty incident when a check goes down, and resolve it when a check goes back up.">
<meta name="description" content="Use {{ site_name }} with PagerDuty: configure {{ site_name }} to create a PagerDuty incident when a check goes down, and resolve it when a check goes back up.">
{% endblock %}
{% block content %}
@ -15,7 +15,7 @@
<div class="jumbotron">
{% if request.user.is_authenticated %}
<p>If your team uses <a href="https://www.pagerduty.com">PagerDuty</a>,
you can set up {% site_name %} to create a PagerDuty incident when
you can set up {{ site_name }} to create a PagerDuty incident when
a check goes down, and resolve it when a check goes back up.</p>
{% if connect_url %}
@ -33,11 +33,11 @@
{% else %}
<p>
{% site_name %} is a <strong>free</strong> and
{{ site_name }} is a <strong>free</strong> and
<a href="https://github.com/healthchecks/healthchecks">open source</a>
service for monitoring your cron jobs, background processes and
scheduled tasks. Before adding PagerDuty integration, please log into
{% site_name %}:</p>
{{ site_name }}:</p>
<div class="text-center">
<a href="{% url 'hc-login' %}"
@ -110,7 +110,7 @@
<span class="step-no"></span>
<p>
And that is all! You will then be redirected back to
"Integrations" page on {% site_name %} and see
"Integrations" page on {{ site_name }} and see
the new integration!
</p>
</div>

8
templates/integrations/add_prometheus.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Prometheus Integration for {% site_name %}{% endblock %}
{% block title %}Prometheus Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -10,12 +10,12 @@
<h1>Prometheus</h1>
<p>
{% site_name %} provides a
{{ site_name }} provides a
<a href="https://prometheus.io">Prometheus</a>-compatible metrics endpoint
for each project. The endpoints are secured using each project's
read-only API key.
If your team uses Prometheus, you can configure it to scrape {% site_name %}
If your team uses Prometheus, you can configure it to scrape {{ site_name }}
and have up-to-date check and tag status values available in Prometheus.
</p>
@ -62,7 +62,7 @@
<span class="step-no"></span>
<p>
Reload Prometheus' configuration. You should now start seeing
{% site_name %} data appear in Prometheus.
{{ site_name }} data appear in Prometheus.
</p>
</div>
</div>

4
templates/integrations/add_pushbullet.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Pushbullet Integration for {% site_name %}{% endblock %}
{% block title %}Pushbullet Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -11,7 +11,7 @@
<div class="jumbotron">
<p>
With this integration, {% site_name %} will send
With this integration, {{ site_name }} will send
a <a href="http://pushbullet.com/">Pushbullet</a>
notification when a check
goes <strong>up</strong> or <strong>down</strong>.

4
templates/integrations/add_pushover.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}Pushover Integration for {% site_name %}{% endblock %}
{% block title %}Pushover Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -12,7 +12,7 @@
<p>
<a href="https://www.pushover.net/">Pushover</a> delivers
real-time notifications on your Android, iPhone, iPad, Desktop,
Android Wear and Apple Watch. You can set up {% site_name %} to
Android Wear and Apple Watch. You can set up {{ site_name }} to
receive Pushover notifications in a few simple steps.
</p>
</div>

12
templates/integrations/add_pushover_help.html

@ -1,10 +1,10 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}Pushover Integration for {% site_name %}{% endblock %}
{% block title %}Pushover Integration for {{ site_name }}{% endblock %}
{% block description %}
<meta name="description" content="Use {% site_name %} with Pushover: configure {% site_name %} to send Pushover notifications when a checks go up or down.">
<meta name="description" content="Use {{ site_name }} with Pushover: configure {{ site_name }} to send Pushover notifications when a checks go up or down.">
{% endblock %}
{% block content %}
@ -16,16 +16,16 @@
<p>
<a href="https://www.pushover.net/">Pushover</a> delivers
real-time notifications on your Android, iPhone, iPad, Desktop,
Android Wear and Apple Watch. You can set up {% site_name %} to
Android Wear and Apple Watch. You can set up {{ site_name }} to
receive Pushover notifications in a few simple steps.
</p>
{% else %}
<p>
{% site_name %} is a <strong>free</strong> and
{{ site_name }} is a <strong>free</strong> and
<a href="https://github.com/healthchecks/healthchecks">open source</a>
service for monitoring your cron jobs, background processes and
scheduled tasks. Before adding Pushover integration, please log into
{% site_name %}:
{{ site_name }}:
</p>
<div class="text-center">
@ -100,7 +100,7 @@
<span class="step-no"></span>
<p>
That is all! You will now be redirected back to
"Integrations" page on {% site_name %} and see
"Integrations" page on {{ site_name }} and see
the new integration!
</p>
</div>

4
templates/integrations/add_shell.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}Add Shell Command - {% site_name %}{% endblock %}
{% block title %}Add Shell Command - {{ site_name }}{% endblock %}
{% block content %}
@ -77,7 +77,7 @@
<div class="modal-body">
<p>
You can use the below placeholders in the command.
{% site_name %} will replace the placeholders
{{ site_name }} will replace the placeholders
with the correct values.
</p>

4
templates/integrations/add_slack.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Slack Integration for {% site_name %}{% endblock %}
{% block title %}Slack Integration for {{ site_name }}{% endblock %}
{% block content %}
<div class="row">
@ -9,7 +9,7 @@
<h1>Slack</h1>
<p>If your team uses <a href="https://slack.com/">Slack</a>, you can set
up {% site_name %} to post status updates directly to an appropriate
up {{ site_name }} to post status updates directly to an appropriate
Slack channel.</p>
<h2>Setup Guide</h2>

20
templates/integrations/add_slack_btn.html

@ -1,10 +1,10 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Slack Integration for {% site_name %}{% endblock %}
{% block title %}Slack Integration for {{ site_name }}{% endblock %}
{% block description %}
<meta name="description" content="Use {% site_name %} with Slack: configure {% site_name %} to post status updates directly to a Slack channel.">
<meta name="description" content="Use {{ site_name }} with Slack: configure {{ site_name }} to post status updates directly to a Slack channel.">
{% endblock %}
{% block content %}
@ -14,7 +14,7 @@
<div class="jumbotron">
{% if request.user.is_authenticated %}
<p>If your team uses <a href="https://slack.com/">Slack</a>, you can set
up {% site_name %} to post status updates directly to an appropriate
up {{ site_name }} to post status updates directly to an appropriate
Slack channel.</p>
{% if authorize_url %}
@ -30,11 +30,11 @@
{% else %}
<p>
{% site_name %} is a <strong>free</strong> and
{{ site_name }} is a <strong>free</strong> and
<a href="https://github.com/healthchecks/healthchecks">open source</a>
service for monitoring your cron jobs, background processes and
scheduled tasks. Before adding Slack integration, please log into
{% site_name %}:</p>
{{ site_name }}:</p>
<div class="text-center">
<a href="{% url 'hc-login' %}"
@ -75,9 +75,9 @@
<span class="step-no"></span>
<p>
Click on the "Add to Slack" button, and you should
be on a page that says "{% site_name %} would like access to
be on a page that says "{{ site_name }} would like access to
your Slack team". Select the team you want to add the
{% site_name %} integration app to.
{{ site_name }} integration app to.
</p>
</div>
<div class="col-sm-6">
@ -92,9 +92,9 @@
<div class="col-sm-6">
<span class="step-no"></span>
<p>
You should now be on a page that says "{% site_name %} would
You should now be on a page that says "{{ site_name }} would
like access to <i>TEAM NAME</i>". Select the channel you want to
post {% site_name %} notifications to.
post {{ site_name }} notifications to.
</p>
</div>
<div class="col-sm-6">
@ -110,7 +110,7 @@
<span class="step-no"></span>
<p>
That is all! You will now be redirected back to
"Integrations" page on {% site_name %} and see
"Integrations" page on {{ site_name }} and see
the new integration!
</p>
</div>

2
templates/integrations/add_sms.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Add SMS Integration - {% site_name %}{% endblock %}
{% block title %}Add SMS Integration - {{ site_name }}{% endblock %}
{% block content %}

4
templates/integrations/add_spike.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Spike.sh Integration for {% site_name %}{% endblock %}
{% block title %}Spike.sh Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -10,7 +10,7 @@
<h1>Spike.sh</h1>
<p>If you are using <a href="https://spike.sh">Spike.sh</a>,
you can set up {% site_name %} to create a Spike.sh incident when a check
you can set up {{ site_name }} to create a Spike.sh incident when a check
goes down, and resolve it when a check goes back up.</p>
<h2>Setup Guide</h2>

10
templates/integrations/add_telegram.html

@ -1,10 +1,10 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}Telegram Integration for {% site_name %}{% endblock %}
{% block title %}Telegram Integration for {{ site_name }}{% endblock %}
{% block description %}
<meta name="description" content="Use {% site_name %} with Telegram: configure {% site_name %} to post status updates to a Telegram chat or user.">
<meta name="description" content="Use {{ site_name }} with Telegram: configure {{ site_name }} to post status updates to a Telegram chat or user.">
{% endblock %}
{% block content %}
@ -16,7 +16,7 @@
<div class="jumbotron">
<p>
When a check goes <strong>up</strong> or <strong>down</strong>,
{% site_name %} will send notifications to
{{ site_name }} will send notifications to
{% if chat_type == "private" %}
a Telegram user
{% else %}
@ -52,7 +52,7 @@
{% else %}
<p>If your team uses <a href="https://telegram.org/">Telegram</a>,
you can set up {% site_name %} to post status updates directly to an
you can set up {{ site_name }} to post status updates directly to an
appropriate Telegram chat or user.</p>
<h2>Setup Guide</h2>
@ -98,7 +98,7 @@
<div class="col-sm-6">
<span class="step-no"></span>
<p>Click or tap on the confirmation link, and
{% site_name %} will open in a browser window asking you to
{{ site_name }} will open in a browser window asking you to
confirm the new integration.</p>
<p>Select the project you want the Telegram integration added to,
click on "Connect Telegram", and it's done!</p>

4
templates/integrations/add_trello.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}Trello Integration for {% site_name %}{% endblock %}
{% block title %}Trello Integration for {{ site_name }}{% endblock %}
{% block content %}
<div class="row">
@ -10,7 +10,7 @@
<div class="jumbotron">
<p>
With this integration, {% site_name %} will create a
With this integration, {{ site_name }} will create a
<a href="https://trello.com/">Trello</a> card each
time a check goes down.
</p>

6
templates/integrations/add_victorops.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}VictorOps Integration for {% site_name %}{% endblock %}
{% block title %}VictorOps Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -12,7 +12,7 @@
<p><a href="https://victorops.com/">VictorOps</a> is
another incident management system similar to PagerDuty.
If you use or plan on using VictorOps, you can can integrate it
with your {% site_name %} account in few simple steps.</p>
with your {{ site_name }} account in few simple steps.</p>
<h2>Setup Guide</h2>
<div class="row ai-step">
@ -22,7 +22,7 @@
Log into your VictorOps account,
go to <strong>Settings > Schedules</strong>,
and find or create the Team Schedule you
would like to use for {% site_name %} alerts.
would like to use for {{ site_name }} alerts.
</p>
</div>
<div class="col-sm-6">

2
templates/integrations/add_whatsapp.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load humanize static hc_extras %}
{% block title %}Add WhatsApp Integration - {% site_name %}{% endblock %}
{% block title %}Add WhatsApp Integration - {{ site_name }}{% endblock %}
{% block content %}

10
templates/integrations/add_zulip.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load compress humanize static hc_extras %}
{% block title %}Zulip Integration for {% site_name %}{% endblock %}
{% block title %}Zulip Integration for {{ site_name }}{% endblock %}
{% block content %}
@ -12,7 +12,7 @@
<a href="https://zulipchat.com/">Zulip</a> is an open-source group chat app
with an email threading model. If you use or plan on using Zulip,
you can can integrate it
with your {% site_name %} account in few simple steps.
with your {{ site_name }} account in few simple steps.
</p>
<h2>Setup Guide</h2>
@ -45,10 +45,10 @@
for bot's name and email.
</p>
<p>
For the profile picture, feel free to use the {% site_name %} logo:
For the profile picture, feel free to use the {{ site_name }} logo:
</p>
<p>
<img src="{% static 'img/logo.png'%}" alt="{% site_name %} logo">
<img src="{% static 'img/logo.png'%}" alt="{{ site_name }} logo">
</p>
<p>
After you have filled out the values,
@ -68,7 +68,7 @@
<span class="step-no"></span>
<p>
Copy the displayed bot's credentials into the form below.
Also specify the stream or the private user you want {% site_name %}
Also specify the stream or the private user you want {{ site_name }}
to post notifications to.
</p>
<p>

12
templates/payments/pricing.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load static compress hc_extras %}
{% block title %}Pricing - It's Free! - {% site_name %}{% endblock %}
{% block title %}Pricing - It's Free! - {{ site_name }}{% endblock %}
{% block description %}
<meta name="description" content="With the Free plan, you can monitor up to 20 services for free. Paid plans lift the limits significantly and are reasonably priced. Special offer for open source projects.">
@ -22,7 +22,7 @@
{% if sub.plan_id %}
Your account is currently on the
<strong>{{ sub.plan_name }}</strong>
plan. Thank you for supporting {% site_name %}!
plan. Thank you for supporting {{ site_name }}!
{% else %}
Your account is currently on the
<strong>{{ sub.plan_name|default:"Hobbyist" }}</strong> plan.
@ -226,7 +226,7 @@
<a href="https://braintreepayments.com">Braintree</a>,
a division of PayPal. Your credit card or PayPal
credentials are never directly handled by or
stored on {% site_name %} servers.
stored on {{ site_name }} servers.
</p>
<p>
Braintree is a validated Level 1 PCI DSS Compliant
@ -248,7 +248,7 @@
<p>
Both plans are similar. The "Supporter" plan is offered
in case "Hobbyist" fits your usage but you wish
to support {% site_name %} financially.
to support {{ site_name }} financially.
</p>
@ -264,7 +264,7 @@
<h2>What is the "log entries per check" number?</h2>
<p>
For each of your checks, {% site_name %} keeps a
For each of your checks, {{ site_name }} keeps a
historic log of the received pings. The log can be useful
for auditing past activity of your cron jobs.
</p>
@ -297,7 +297,7 @@
</div>
<div id="log-limit-help" class="hidden">
The maximum number of log entries {% site_name %} will store for each check.
The maximum number of log entries {{ site_name }} will store for each check.
When the limit is reached, the oldest log entries start getting removed to make
room for new ones.
</div>

2
templates/payments/pricing_not_owner.html

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load hc_extras %}
{% block title %}Pricing - {% site_name %}{% endblock %}
{% block title %}Pricing - {{ site_name }}{% endblock %}
{% block content %}

Loading…
Cancel
Save