2017-10-29 03:01:39 +00:00
|
|
|
{% extends 'cards/base.html' %}
|
2017-10-23 23:52:20 +00:00
|
|
|
{% load duration %}
|
|
|
|
|
2017-11-04 11:59:28 +00:00
|
|
|
{% block header %}Today's Naps{% endblock %}
|
2017-10-23 23:52:20 +00:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{% if count %}
|
2017-10-30 23:35:51 +00:00
|
|
|
{{ count }} nap{{ count|pluralize }}
|
2017-10-23 23:52:20 +00:00
|
|
|
{% else %}
|
|
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
2017-10-30 23:35:51 +00:00
|
|
|
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-10-28 00:12:39 +00:00
|
|
|
{% if total.duration__sum %}{{ total.duration__sum|duration_string }}{% endif %}
|
2017-10-24 00:07:45 +00:00
|
|
|
{% endblock %}
|