mirror of https://github.com/snachodog/mybuddy.git
18 lines
456 B
HTML
18 lines
456 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load duration %}
|
|
|
|
{% block header %}Today's Naps{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if count %}
|
|
{{ count }} nap{{ count|pluralize }}
|
|
{% else %}
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
|
None yet today
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if total %}{{ total|duration_string }}{% endif %}
|
|
{% endblock %} |