mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-11 15:51:19 +00:00
Update timezone selectors to recognize "oncalendar" schedules
This commit is contained in:
parent
e9882879ed
commit
82e5c60ffa
2 changed files with 4 additions and 4 deletions
templates/front
|
@ -304,7 +304,7 @@
|
|||
</label>
|
||||
{% endif %}
|
||||
|
||||
{% if check.kind == "cron" %}
|
||||
{% if check.kind == "cron" or check.kind == "oncalendar" %}
|
||||
<label
|
||||
class="btn btn-default btn-xs active"
|
||||
data-format="{{ check.tz }}">
|
||||
|
@ -314,7 +314,7 @@
|
|||
{% endif %}
|
||||
|
||||
<label
|
||||
class="btn btn-default btn-xs {% if check.kind != 'cron' %}active{% endif %}"
|
||||
class="btn btn-default btn-xs {% if check.kind == 'simple' %}active{% endif %}"
|
||||
data-format="local">
|
||||
<input type="radio" name="date-format">
|
||||
Browser's time zone
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</label>
|
||||
{% endif %}
|
||||
|
||||
{% if check.kind == "cron" %}
|
||||
{% if check.kind == "cron" or check.kind == "oncalendar" %}
|
||||
<label
|
||||
class="btn btn-default btn-xs active"
|
||||
data-format="{{ check.tz }}">
|
||||
|
@ -32,7 +32,7 @@
|
|||
{% endif %}
|
||||
|
||||
<label
|
||||
class="btn btn-default btn-xs {% if check.kind != 'cron' %}active{% endif %}"
|
||||
class="btn btn-default btn-xs {% if check.kind == 'simple' %}active{% endif %}"
|
||||
data-format="local">
|
||||
<input type="radio" name="date-format">
|
||||
Browser's time zone
|
||||
|
|
Loading…
Add table
Reference in a new issue