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>
<span class="value">{{ check.timeout|hc_duration }}</span>
<div class="subtitle">
(Expected time between pings)
(The expected time between pings)
</div>
</td>
{% elif check.kind == "cron" %}
@ -181,7 +181,7 @@
<td>
<span class="value">{{ check.grace|hc_duration }}</span>
<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>
</td>
</tr>
@ -235,7 +235,7 @@
{% if rw %}
<div class="details-block">
<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">
{% 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>
<span class="help-block">
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>
</div>
</div>


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

@ -9,10 +9,7 @@
<div class="modal-body">
<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
</span>
<span
@ -25,10 +22,7 @@
<div id="period-slider"></div>
<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
</span>
<span
@ -43,11 +37,11 @@
<div class="update-timeout-terms">
<p>
<span>Period</span>
Expected time between pings.
– The expected time between pings.
</p>
<p>
<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>
</div>
</div>


Loading…
Cancel
Save