mybuddy/dashboard/templates/cards/sleep_day.html

18 lines
408 B
HTML
Raw Normal View History

2017-10-29 03:01:39 +00:00
{% extends 'cards/base.html' %}
{% load duration i18n %}
2017-09-13 14:31:56 +00:00
{% block header %}{% trans "Today's Sleep" %}{% endblock %}
2017-09-13 14:31:56 +00:00
{% block title %}
{% if total %}
2017-10-30 23:35:51 +00:00
{{ total|duration_string }}
2017-09-13 14:31:56 +00:00
{% else %}
{% trans "None" %}
2017-09-13 14:31:56 +00:00
{% endif %}
{% endblock %}
{% block content %}
{% if count > 0 %}
{% blocktrans %}{{ count }} sleep entries{% endblocktrans %}
{% endif %}
{% endblock %}