{% extends "base.html" %} {% block title %}Run history{% endblock %} {% block content %}

Run history

{% if request.user.is_staff %}{% endif %} {% for run in page_obj %} {% if request.user.is_staff %}{% endif %} {% if run.status == "failed" and run.error_message %} {% endif %} {% empty %} {% endfor %}
QueryOwnerSpider Trigger Status Started Finished Found New
{{ run.query_name }}{{ run.user|default:"—" }}{{ run.spider_name }} {{ run.get_trigger_display }} {{ run.get_status_display }} {{ run.started_at|default:"—" }} {{ run.finished_at|default:"—" }} {% if run.items_found_count %} {{ run.items_found_count }} {% else %}{{ run.items_found_count }}{% endif %} {% if run.new_items_count %} {{ run.new_items_count }} {% else %}{{ run.new_items_count }}{% endif %}
{{ run.error_message }}
No runs yet.
{% include "crawler_manager/_pagination.html" %} {% endblock %}