{% extends 'base.html' %} {% from "_helpers.html" import render_tags, render_facts %} {% block heading %} Dashboard: What's Up Today {% endblock %} {% block content %}
{% if next_sleep.eta_is_negative %} Я думал, ты уже спишь ≈{{ format_delta(next_sleep.eta) }}, чтобы проснуться около {{ next_sleep.end.strftime('%H:%M') }}. Уверен, что не пора? {% else %} Если {% if next_sleep.eta.total_seconds() > 60*60 %} через {{ format_delta(next_sleep.eta, '{hours}') }} ч. {% else %} в течение часа {% endif %} уснешь, проснешься около {{ approx_time(next_sleep.end) }} после {{ format_delta(next_sleep.duration, '{hours}') }}-часового сна. {% endif %} (См. режим сна и список предсказаний)
{% for message, category in methodology.analyse_day() %}
{{ message }}
{% endfor %}

Категории

{% for item in stats|reverse %}
{{ item.category }}
{{ item.duration }}
{% endfor %}

Последние факты

{{ render_facts(facts[-5:]|reverse, hide_date=True) }} Смотреть весь день… {% endblock %}