mybuddy/dashboard/templates/cards/sleep_last.html

14 lines
302 B
HTML
Raw Normal View History

2017-10-29 03:01:39 +00:00
{% extends 'cards/base.html' %}
{% load duration %}
{% block header %}Last Slept{% endblock %}
{% block title %}
{% if sleep %}
{{ sleep.end|timesince }} ago
{% else %}
Never
{% endif %}
{% endblock %}
{% block content %}{{ sleep.duration|duration_string }}{% endblock %}