healthchecks/templates/front/last_ping_cell.html

15 lines
431 B
HTML

{% load humanize hc_extras %}
{% if check.last_ping %}
{{ check.last_ping|naturaltime }}
{% if check.has_confirmation_link %}
<br /><span class="label label-confirmation">confirmation link</span>
{% elif check.clamped_last_duration %}
<br />
<span class="checks-subline-duration">
<span class="icon-timer"></span> {{ check.clamped_last_duration|hms }}
</span>
{% endif %}
{% else %}
Never
{% endif %}