2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2019-04-14 15:40:08 +00:00
|
|
|
{% load duration i18n %}
|
2017-10-23 23:52:20 +00:00
|
|
|
|
2019-04-14 15:40:08 +00:00
|
|
|
{% block header %}{% trans "Today's Naps" %}{% endblock %}
|
2017-10-23 23:52:20 +00:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{% if count %}
|
2019-04-15 01:41:25 +00:00
|
|
|
{% blocktrans with plural=count|pluralize %}{{ count }} nap{{ plural }}{% endblocktrans %}
|
2017-10-23 23:52:20 +00:00
|
|
|
{% else %}
|
|
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
2019-04-14 15:40:08 +00:00
|
|
|
{% trans "None yet today" %}
|
2017-10-23 23:52:20 +00:00
|
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2017-11-19 16:01:38 +00:00
|
|
|
{% if total %}{{ total|duration_string }}{% endif %}
|
2017-10-24 00:07:45 +00:00
|
|
|
{% endblock %}
|