{% extends 'cards/sleep.html' %}
{% load duration %}

{% block header %}Today's Naps <small><em>(7AM - 7PM)</em></small>{% endblock %}

{% block title %}
    {% if count %}
        <strong>{{ count }} naps</strong>
    {% else %}
        <i class="icon icon-sad" aria-hidden="true"></i>
        <strong>None yet today</strong>
        <i class="icon icon-sad" aria-hidden="true"></i>
    {% endif %}
{% endblock %}

{% block content %}
    {{ total.duration__sum|duration_string }} <br/>
{% endblock %}
{% extends 'cards/sleep.html' %}
{% load duration %}

{% block header %}Today's Naps <small><em>(7AM - 7PM)</em></small>{% endblock %}

{% block title %}
    {% if count %}
        <strong>{{ count }}</strong> nap{{ count|pluralize }}
    {% else %}
        <i class="icon icon-sad" aria-hidden="true"></i>
        <strong>None yet today</strong>
        <i class="icon icon-sad" aria-hidden="true"></i>
    {% endif %}
{% endblock %}

{% block content %}
    {{ total.duration__sum|duration_string }} <br/>
{% endblock %}
Add pluralize check to naps count card.
Add pluralize check to naps count card.
