{% extends 'base.html' %} {% block css %} tr.toplevel th { padding-right: 1em; } tr.toplevel td, tr.toplevel th { padding-top: 1em; } tr.lowlevel td, tr.lowlevel th { padding-top: 0em; } {% endblock %} {% macro draw_task(task) %} {{task.title.now}} {% endmacro %} {% macro task_with_deps(task, indent) %} {% for i in range(indent) %}  {% if loop.last %}+{% endif %}{% endfor %} {{ draw_task(task) }}
{% for task in task.deps %} {{ task_with_deps(task, indent+1) }} {% endfor %} {% endmacro %} {% block content %}

edit task

{% if task.dependers %} {% endif %} {{ macros.datalist_tasks(filtered_tasks) }} {% if task.deps %} {% endif %}
add as todo to {{ selected_date }}
title
history
    {% for k,v in task.title.history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }} {% endfor %}
comment
default effort
history
    {% for k,v in task.default_effort.history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }} {% endfor %}
tags add: {{ macros.tagselection(submit_name='tag', selected_tags=task.tags.now, all_tags=tags) }}
history
    {% for k,v in task.tags.history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }} {% endfor %}
dependers
children {% if task.deps %} {% for dep in task.deps %} {% endfor %}
{% if dep.deps %}
{% endif %} {{ draw_task(dep)}} {% if dep.deps %} {% for s in dep.deps %} {{ task_with_deps(s, 1) }} {% endfor %}
{% endif %}
{% endif %} add:
as chain {% for dep in task.deps_chain %} {% endfor %}
{{dep.deps_depth}} {{dep.title.now}}
{% endblock %}