{% extends 'base.html' %} {% block headtitle %}Tasks - Completed{% endblock %} {% block content %}

Completed tasks

{% include 'infobox.html' with message=message %}
{% for task in tasks %} {% if task.has_error %} {{ task.verbose_name }}
Source: "{{ task.queue }}"
Error: "{{ task.error_message }}"
Task ran at {{ task.run_at|date:'Y-m-d H:i:s' }}
{% else %} {{ task.verbose_name }}
Source: "{{ task.queue }}"
Task ran at {{ task.run_at|date:'Y-m-d H:i:s' }}
{% endif %} {% empty %} There have been no completed tasks{% if source %} that match the specified source filter{% endif %}. {% endfor %}
{% include 'pagination.html' with pagination=sources.paginator filter=source.pk %} {% endblock %}