mybuddy/dashboard/templates/cards/sleep_naps_day.html

20 lines
525 B
HTML
Raw Permalink Normal View History

2017-10-29 03:01:39 +00:00
{% extends 'cards/base.html' %}
{% load duration i18n %}
2021-08-04 20:36:00 +00:00
{% block header %}
<a href="{% url "core:sleep-list" %}">{% trans "Today's Naps" %}</a>
2021-08-04 20:36:00 +00:00
{% endblock %}
2017-10-23 23:52:20 +00:00
{% block title %}
{% if count %}
2022-06-05 13:34:52 +00:00
{% blocktrans trimmed count counter=count %}
{{ count }} nap
{% plural %}
{{ count }} naps
{% 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 %}