healthchecks/templates/front/last_ping_cell.html
2018-02-25 00:00:37 +02:00

12 lines
384 B
HTML

{% load humanize %}
{% if check.last_ping %}
<div class="last-ping" data-url="{% url 'hc-last-ping' check.code %}">
{{ check.last_ping|naturaltime }}
{% if check.has_confirmation_link %}
<br /><span class="label label-confirmation">confirmation link</span>
{% endif %}
</div>
{% else %}
<div class="last-ping-never">Never</div>
{% endif %}