{% extends "base.html" %} {% load staticfiles %} {% block content %}

Pending Tasks

{% if tasks %} {% for task in tasks %} {% endfor %}
Timestamp Category Target Status
{% if task.status == "reported" %} {{task.completed_on}} {% else %} {{task.added_on}} (added on) {% endif %} {{task.category}} {{task.target}} {% if task.status == "pending" %} pending {% elif task.status == "running" %} running {% elif task.status == "completed" %} completed {% elif task.status == "reported" %} reported {% else %} {{task.status}} {% endif %}
{% else %}
No pending tasks.
{% endif %}
{% endblock %}