mirror of https://github.com/snachodog/mybuddy.git
24 lines
541 B
HTML
24 lines
541 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load duration i18n %}
|
|
|
|
{% block header %}
|
|
<a href="{% url "core:sleep-list" %}">
|
|
{% trans "Today's Naps" %}
|
|
</a>
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if count %}
|
|
{% blocktrans trimmed count counter=count %}
|
|
{{ count }} nap
|
|
{% plural %}
|
|
{{ count }} naps
|
|
{% endblocktrans %}
|
|
{% else %}
|
|
{% trans "None" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if total %}{{ total|duration_string }}{% endif %}
|
|
{% endblock %} |