{% extends "base.html" %} {% block content %}
Today {{ focus_date }}
{% if items %}
{% for domain in hierarchy %} {% for item in domain.rows %} {% endfor %} {% endfor %}
{{ domain.label }} {{ domain.rows|length }}
{{ loop.index }} {% with reorder_url="/focus/reorder", item_id=item.id, extra_fields={"focus_date": focus_date|string} %}{% include 'partials/reorder_arrows.html' %}{% endwith %}
{{ item.due_date or '' }} {% if item.task_id %}{% elif item.list_item_id %}{% endif %} {% if item.task_id %}{% if item.title %}{{ item.title }}{% else %}[Deleted]{% endif %}{% elif item.list_item_id %}{% if item.list_item_content %}{{ item.list_item_content }}{% else %}[Deleted]{% endif %}{% endif %} {% if item.area_name %}{{ item.area_name }}{% endif %} {% if item.task_id and item.project_name %}{{ item.project_name }}{% elif item.list_item_id and item.list_name %}{{ item.list_name }}{% endif %} {{ '~%smin'|format(item.estimated_minutes) if item.estimated_minutes else '' }}
{% else %}
No focus items for this day
{% endif %}

Add to Focus

Tasks List Items
{% if current_source_type == 'tasks' %} {% endif %} {% if current_search or current_domain_id or current_area_id or current_project_id %} Clear {% endif %}
{% if current_source_type == 'tasks' %} {% for t in available_tasks %}
{{ t.title }} {% if t.project_name %}{{ t.project_name }}{% endif %} {% if t.due_date %}{{ t.due_date }}{% endif %}
{% else %}
No available tasks matching filters
{% endfor %} {% if available_tasks|length > 25 %}
{% endif %} {% elif current_source_type == 'list_items' %} {% for li in available_list_items %}
{{ li.content|autolink }} {% if li.list_name %}{{ li.list_name }}{% endif %}
{% else %}
No available list items matching filters
{% endfor %} {% if available_list_items|length > 25 %}
{% endif %} {% endif %}
{% endblock %}