2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load duration i18n %}
|
2021-08-04 20:36:00 +00:00
|
|
|
{% block header %}
|
2024-02-06 13:35:36 +00:00
|
|
|
<a href="{% url "core:sleep-list" %}">{% trans "Today's Naps" %}</a>
|
2021-08-04 20:36:00 +00:00
|
|
|
{% endblock %}
|
2017-10-23 23:52:20 +00:00
|
|
|
{% block title %}
|
|
|
|
{% if count %}
|
2022-06-05 13:34:52 +00:00
|
|
|
{% blocktrans trimmed count counter=count %}
|
|
|
|
{{ count }} nap
|
|
|
|
{% plural %}
|
|
|
|
{{ count }} naps
|
2020-01-24 04:00:32 +00:00
|
|
|
{% endblocktrans %}
|
2017-10-23 23:52:20 +00:00
|
|
|
{% else %}
|
2020-02-15 21:48:17 +00:00
|
|
|
{% trans "None" %}
|
2017-10-23 23:52:20 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
2017-11-19 16:01:38 +00:00
|
|
|
{% if total %}{{ total|duration_string }}{% endif %}
|
2024-02-06 13:35:36 +00:00
|
|
|
{% endblock %}
|