{% extends 'planner/base.html' %} {% block title %}Daily planner · Tasknest{% endblock %} {% block content %}

Daily planner

Choose your next best step.

Recommendations adapt to the date and the energy you have available.

{{ form.selected_date.label_tag }} {{ form.selected_date }} {% for error in form.selected_date.errors %}{% endfor %}
{{ form.energy_level.label_tag }} {{ form.energy_level }} {% for error in form.energy_level.errors %}{% endfor %}
{% if form.is_valid %}

{{ selected_date|date:"l, j F" }}

Recommended for you

Your available time: {{ duration_budget }} minutes

{% if recommendations %}
{% for recommendation in recommendations %}
{{ recommendation.task.get_priority_display }}

{{ recommendation.task.title }}

{% if recommendation.task.estimated_duration_minutes %} {{ recommendation.task.estimated_duration_minutes }} minutes {% else %} Duration flexible {% endif %} {% if recommendation.task.is_recurring %} · Recurring{% endif %} {% if not recommendation.task.is_active %} · Paused{% endif %} {% if recommendation.task.weather_profile != 'none' %} · {{ recommendation.task.get_weather_profile_display }}{% endif %} {% if recommendation.task.weather_shifted_from %} · Moved from {{ recommendation.task.weather_shifted_from|date:'l' }} — {{ recommendation.task.weather_shift_reason }}{% endif %}

{% csrf_token %}
Edit
{% if recommendation.subtasks %}

Eligible subtasks

    {% for subtask in recommendation.subtasks %}
  • {{ subtask.title }}{% if subtask.estimated_duration_minutes %}{{ subtask.estimated_duration_minutes }} min{% endif %}
  • {% endfor %}
{% endif %}
{% endfor %}
{% else %}

Nothing scheduled for this day

Create a task or choose another date to make a plan.

View tasks
{% endif %}
{% endif %} {% endblock %}