0
0
Fork 0
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:
Pēteris Caune 2023-12-06 16:32:39 +02:00
parent e9882879ed
commit 82e5c60ffa
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
2 changed files with 4 additions and 4 deletions
templates/front

View file

@ -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

View file

@ -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