Browse Source

Improve copy in the "Change Schedule" dialog

cc: #547
pull/555/head
Pēteris Caune 3 years ago
parent
commit
a2fe5653c0
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
3 changed files with 8 additions and 15 deletions
  1. +3
    -3
      templates/front/details.html
  2. +1
    -2
      templates/front/update_name_modal.html
  3. +4
    -10
      templates/front/update_timeout_modal.html

+ 3
- 3
templates/front/details.html View File

@ -158,7 +158,7 @@
<td> <td>
<span class="value">{{ check.timeout|hc_duration }}</span> <span class="value">{{ check.timeout|hc_duration }}</span>
<div class="subtitle"> <div class="subtitle">
(Expected time between pings)
(The expected time between pings)
</div> </div>
</td> </td>
{% elif check.kind == "cron" %} {% elif check.kind == "cron" %}
@ -181,7 +181,7 @@
<td> <td>
<span class="value">{{ check.grace|hc_duration }}</span> <span class="value">{{ check.grace|hc_duration }}</span>
<div class="subtitle"> <div class="subtitle">
(When a check is late, how long to wait until an alert is sent)
(When a check is late, how long to wait to send an alert)
</div> </div>
</td> </td>
</tr> </tr>
@ -235,7 +235,7 @@
{% if rw %} {% if rw %}
<div class="details-block"> <div class="details-block">
<h2>Danger Zone</h2> <h2>Danger Zone</h2>
<p>Copy, Transfer, or permanently remove this check.</p>
<p>Copy, transfer, or permanently remove this check.</p>
<div class="text-right"> <div class="text-right">
{% if project.num_checks_available > 0 %} {% if project.num_checks_available > 0 %}


+ 1
- 2
templates/front/update_name_modal.html View File

@ -65,8 +65,7 @@
name="desc">{{ check.desc }}</textarea> name="desc">{{ check.desc }}</textarea>
<span class="help-block"> <span class="help-block">
Additional notes for your own reference. Will appear Additional notes for your own reference. Will appear
in email alerts about this check going down and in
Slack notifications.
in email alerts and Slack notifications.
</span> </span>
</div> </div>
</div> </div>


+ 4
- 10
templates/front/update_timeout_modal.html View File

@ -9,10 +9,7 @@
<div class="modal-body"> <div class="modal-body">
<div class="update-timeout-info text-center"> <div class="update-timeout-info text-center">
<span
class="update-timeout-label"
data-toggle="tooltip"
title="Expected time between pings.">
<span class="update-timeout-label">
Period Period
</span> </span>
<span <span
@ -25,10 +22,7 @@
<div id="period-slider"></div> <div id="period-slider"></div>
<div class="update-timeout-info text-center"> <div class="update-timeout-info text-center">
<span
class="update-timeout-label"
data-toggle="tooltip"
title="When check is late, how long to wait until an alert is sent">
<span class="update-timeout-label">
Grace Time Grace Time
</span> </span>
<span <span
@ -43,11 +37,11 @@
<div class="update-timeout-terms"> <div class="update-timeout-terms">
<p> <p>
<span>Period</span> <span>Period</span>
Expected time between pings.
– The expected time between pings.
</p> </p>
<p> <p>
<span>Grace Time</span> <span>Grace Time</span>
When a check is late, how long to wait until an alert is sent.
– When a check is late, or has received a "start" signal, how long to wait to send an alert.
</p> </p>
</div> </div>
</div> </div>


Loading…
Cancel
Save