{% extends 'base.html' %} {% load crispy_forms_tags %} {% block content %}
{% include "cri_frontend/_criuser_nav.html" with current_page="tasks" %}

{% if criuser.criserviceaccount %} {% else %} {% endif %} {{ criuser.get_full_name }}

{% if is_paginated %} {% include "cri_frontend/_pagination.html" with paginator=paginator page_obj=page_obj only %} {% endif %} {% for entry in page_obj %} {% with entry=entry.get_task_instance %} {% endwith %} {% empty %} {% endfor %}
ID Type Name Status Time taken Result
{{ entry.pk }} {{ entry.task_class }} {{ entry }} {% if entry.status == "succeeded" %} {{ entry.task.time_taken }} {% if entry.task %} {{ entry.get_result_display }} {% else %} Not applicable {% endif %}
You don't have any tasks.
{% if is_paginated %} {% include "cri_frontend/_pagination.html" with paginator=paginator page_obj=page_obj paginator_range=paginator_range only %} {% endif %}
{% endblock %}