{% extends "layout.html" %} {% import 'macros.html' as macros %} {% block title %}Task details - TWWeb{% endblock %} {% block content %}

Task details

Edit
{% if task %}
{{ macros.trow("Description", task.description|urlize) }} {% if task.annotations %} {% else %} {% endif %} {{ macros.trow("Status", task.status|capitalize, url_for('task.tasks', status=task.status)) }} {{ macros.trow("Project", task.project, url_for('task.tasks', project=task.project)) }} {% if task.tags %} {% else %} {% endif %} {{ macros.trow("Priority", task.priority, url_for('task.tasks', priority=task.priority)) }} {{ macros.trow("Urgency", task.urgency|int) }} {% if task.depends %} {% else %} {% endif %} {% if task.due %}{{ macros.trow("Due date", task.due.strftime('%Y-%m-%d %H:%M:%S')) }}{% endif %} {% if task.scheduled %}{{ macros.trow("Scheduled on", task.scheduled.strftime('%Y-%m-%d %H:%M:%S')) }}{% endif %} {% if task.wait %}{{ macros.trow("Waits until", task.wait.strftime('%Y-%m-%d %H:%M:%S')) }}{% endif %} {% if task.start %}{{ macros.trow("Started", task.start.strftime('%Y-%m-%d %H:%M:%S')) }}{% endif %} {% if task.end %}{{ macros.trow("Ended", task.end.strftime('%Y-%m-%d %H:%M:%S')) }}{% endif %} {{ macros.trow("Recurs until", task.until) }} {{ macros.trow("Frequency", task.recur) }} {{ macros.trow("Parent", task.parent, url_for('task.task', uuid=task.parent)) }} {% for uda in udas %} {{ macros.trow(uda|capitalize, task[uda]) }} {% endfor %} {{ macros.trow("UUID", task.uuid) }} {{ macros.trow("ID", task.id) }} {{ macros.trow("Entry", task.entry.strftime('%Y-%m-%d %H:%M:%S')) }} {{ macros.trow("Last modification", task.modified.strftime('%Y-%m-%d %H:%M:%S')) }}
Annotations
    {% for ann in task.annotations %}
  • {{ ann.entry.strftime('%Y-%m-%d %H:%M:%S') }}: {{ ann|urlize }}
  • {% endfor %}
-
Tags{% for tag in task.tags %}{{tag}}{% if not loop.last %}, {% endif %}{% endfor %}-
Depends on{% for dep in task.depends %}{{ dep }}{% if not loop.last %}, {% endif %}{% endfor %}-
{% endif %} {% endblock content %}