mybuddy/dashboard/templates/cards/sleep_last.html

16 lines
351 B
HTML
Raw Normal View History

{% extends 'cards/sleep.html' %}
{% load duration %}
{% 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 %}