{% extends "admin/base_site.html" %} {% load i18n tz %} {% block breadcrumbs %} {% endblock %} {% block content %}

{% trans "Reporting window" %}

{% for option in period_options %} {% if option.selected %} {{ option.label }} {% else %} {{ option.label }} {% endif %} {% if not forloop.last %} {% endif %} {% endfor %}

{% blocktrans with end=window_end|date:"DATETIME_FORMAT" %} Showing tasks scheduled to run before {{ end }}. {% endblocktrans %}

{% trans "Scheduled tasks" %}

{% if scheduled_tasks %} {% for item in scheduled_tasks %} {% endfor %}
{% trans "Name" %} {% trans "Task" %} {% trans "Schedule" %} {% trans "Next run" %} {% trans "Status" %} {% trans "Source" %}
{{ item.name }} {{ item.task }} {% if item.schedule_description %} {{ item.schedule_description }} {% else %} {% trans "Unknown" %} {% endif %} {% if item.next_run %} {{ item.next_run|date:"DATETIME_FORMAT" }} {% else %} {% trans "Unknown" %} {% endif %} {% if item.enabled %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} {{ item.source }}
{% else %}

{% trans "No tasks are scheduled for the selected period." %}

{% endif %}

{% trans "Recent log entries" %}

{% blocktrans with start=log_window_start|date:"DATETIME_FORMAT" end=current_time|date:"DATETIME_FORMAT" %} Showing Celery log entries between {{ start }} and {{ end }}. {% endblocktrans %}

{% if log_sources %}

{% blocktrans with sources=log_sources|join:", " %} Scanned log sources: {{ sources }}. {% endblocktrans %}

{% endif %} {% if log_entries %} {% for entry in log_entries %} {% endfor %}
{% trans "Timestamp" %} {% trans "Level" %} {% trans "Logger" %} {% trans "Message" %} {% trans "Source" %}
{{ entry.timestamp|date:"DATETIME_FORMAT" }} {{ entry.level }} {{ entry.logger }} {{ entry.message }} {{ entry.source }}
{% if is_paginated %} {% endif %} {% else %}

{% trans "No log entries found for the selected period." %}

{% endif %}
{% endblock %}