mybuddy/dashboard/templates/cards/sleep_naps_day.html

22 lines
511 B
HTML
Raw Normal View History

2017-10-29 03:01:39 +00:00
{% extends 'cards/base.html' %}
{% load duration i18n %}
2017-10-23 23:52:20 +00:00
2021-08-04 20:36:00 +00:00
{% block header %}
<a href="{% url "core:sleep-list" %}">
{% trans "Today's Naps" %}
</a>
{% endblock %}
2017-10-23 23:52:20 +00:00
{% block title %}
{% if count %}
{% blocktrans trimmed with plural=count|pluralize %}
{{ count }} nap{{ plural }}
{% endblocktrans %}
2017-10-23 23:52:20 +00:00
{% else %}
{% trans "None" %}
2017-10-23 23:52:20 +00:00
{% endif %}
{% endblock %}
{% block content %}
{% if total %}{{ total|duration_string }}{% endif %}
{% endblock %}