diff --git a/static/js/details.js b/static/js/details.js index c92acdb9..747aad43 100644 --- a/static/js/details.js +++ b/static/js/details.js @@ -95,7 +95,7 @@ $(function () { $("#current-status-icon").attr("class", "status ic-" + data.status); $("#current-status-text").html(data.status_text); - $('#pause-btn').prop('disabled', data.status == "paused"); + $('#pause-btn').prop('disabled', data.status == "paused" && !data.started); } if (data.started != lastStarted) { diff --git a/templates/front/log_status_text.html b/templates/front/log_status_text.html index 6cb11e3b..19ac6ade 100644 --- a/templates/front/log_status_text.html +++ b/templates/front/log_status_text.html @@ -11,6 +11,8 @@ {% if rw %} <a id="resume-btn" href="#">(Resume Now)</a> {% endif %} + {% elif status == "paused" and check.last_start %} + This check is ready for pings. {% elif status == "paused" %} This check is paused. {% elif status == "new" and check.n_pings %}