diff --git a/templates/focus.html b/templates/focus.html index 6dbc3c3..d7d4097 100644 --- a/templates/focus.html +++ b/templates/focus.html @@ -19,29 +19,16 @@ - + {% if items %}
- + -{% for domain in hierarchy %} - - - - - - - {% for item in domain.rows %} + +{% for item in items %} @@ -58,6 +45,7 @@ + @@ -67,9 +55,8 @@ - {% endfor %} - {% endfor %} +
- - - - {{ domain.label }} - {{ domain.rows|length }} - -
{{ loop.index }} {% with reorder_url="/focus/reorder", item_id=item.id %}{% include 'partials/reorder_arrows.html' %}{% endwith %}{{ item.due_date or '' }} {% if item.task_id %}{% elif item.list_item_id %}{% else %}{% endif %} {% if item.task_id %}{% if item.task_title %}{{ item.task_title }}{% else %}[Deleted]{% endif %}{% elif item.list_item_id %}{% if item.list_item_content %}{{ item.list_item_content }}{% else %}[Deleted]{% endif %}{% else %}{{ item.title }}{% endif %}{% if item.domain_name %}{{ item.domain_name }}{% endif %} {% if item.area_name %}{{ item.area_name }}{% endif %} {% if 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 '' }}