2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load duration i18n %}
|
2017-09-13 14:31:56 +00:00
|
|
|
|
2021-08-04 20:36:00 +00:00
|
|
|
{% block header %}
|
|
|
|
<a href="{% url "core:sleep-list" %}">
|
|
|
|
{% trans "Today's Sleep" %}
|
|
|
|
</a>
|
|
|
|
{% endblock %}
|
2017-09-13 14:31:56 +00:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{% if total %}
|
2017-10-30 23:35:51 +00:00
|
|
|
{{ total|duration_string }}
|
2017-09-13 14:31:56 +00:00
|
|
|
{% else %}
|
2020-02-15 21:48:17 +00:00
|
|
|
{% trans "None" %}
|
2017-09-13 14:31:56 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-10-28 00:12:39 +00:00
|
|
|
{% block content %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% if count > 0 %}
|
|
|
|
{% blocktrans %}{{ count }} sleep entries{% endblocktrans %}
|
|
|
|
{% endif %}
|
2017-10-28 00:12:39 +00:00
|
|
|
{% endblock %}
|