mybuddy/dashboard/templates/cards/sleep_last.html

16 lines
349 B
HTML
Raw Normal View History

{% extends 'cards/sleep.html' %}
{% load timers %}
{% block header %}Last Slept{% endblock %}
{% block title %}
<strong>{{ sleep.end|timesince }}</strong> ago
{% endblock %}
{% block content %}
<div class="text-muted">
{{ sleep.duration|duration_string }}
</div>
{% endblock %}
{% block footer %}{{ sleep.end }}{% endblock %}