0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-11 15:51:19 +00:00

Optimize HTML in the "My Checks" screen

This commit is contained in:
Pēteris Caune 2022-06-27 10:05:32 +03:00
parent 5bb143caa2
commit 229f97ef9a
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 4 deletions
static/js
templates/front

View file

@ -219,7 +219,7 @@ $(function () {
if (lastPing[el.code] != el.last_ping) {
lastPing[el.code] = el.last_ping;
$("#lpd-" + el.code).html(el.last_ping);
$("#" + el.code + " .last-ping").html(el.last_ping);
}
}

View file

@ -121,9 +121,7 @@
</div>
</td>
<td class="hidden-xs">
<div id="lpd-{{ check.code }}" class="last-ping">
{% include "front/last_ping_cell.html" with check=check %}
</div>
<div class="last-ping">{% include "front/last_ping_cell.html" with check=check %}</div>
</td>
<td class="actions">
{% if rw %}