mirror of https://github.com/snachodog/mybuddy.git
20 lines
532 B
HTML
20 lines
532 B
HTML
{% extends 'cards/base.html' %}
|
|
{% load duration i18n %}
|
|
|
|
{% block header %}{% trans "Today's Sleep" %}{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if total %}
|
|
{{ total|duration_string }}
|
|
{% else %}
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
|
{% trans "None yet today" %}
|
|
<i class="icon icon-sad" aria-hidden="true"></i>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if count > 0 %}
|
|
{% blocktrans %}{{ count }} sleep entries{% endblocktrans %}
|
|
{% endif %}
|
|
{% endblock %} |