{% extends "vantage/base.html" %} {% load static vantage i18n %} {% block head %}{% endblock %} {% block content %}
{{ page_description }}
{% icon "activity" %}
{% if backend.deferred %}
{% blocktranslate trimmed %}
Reports are queued by manage.py vantage_reports, which
must run every minute from cron.
{% endblocktranslate %}
{% else %}
{% blocktranslate trimmed %}
No task backend is configured, so manage.py vantage_reports
sends each report itself. It must run every minute from cron.
{% endblocktranslate %}
{% endif %}
| {% translate "Saved view" %} | {% if everyone %}{% translate "Runs as" %} | {% endif %}{% translate "Schedule" %} | {% translate "Next" %} | {% translate "Last" %} | {% translate "Failed" %} | {% translate "Actions" %} |
|---|---|---|---|---|---|---|
{% if sub.can_edit %}{{ sub.view.name }}{% else %}{{ sub.view.name }}{% endif %}
{{ sub.view.model_label }}
|
{% if everyone %}{{ sub.user.get_username }} | {% endif %}
{{ sub.schedule }}
{% if sub.active %}{% translate "Active" %}{% else %}{% translate "Paused" %}{% endif %}
{% if sub.paused_reason %} {{ sub.paused_reason }} {% endif %} |
{% if sub.next_run_at %}{% else %}—{% endif %} | {% if sub.last_run_at %} {{ sub.get_last_status_display }} {% else %}—{% endif %} | {{ sub.failing }} |
{% if sub.can_act %}
{% if writable %}
{% if sub.can_edit %}
{% icon "pencil" %}{% translate "Edit" %}
{% endif %}
{% icon "trash" %}{% translate "Delete" %}
{% endif %}
{% endif %}
|
{% translate "No scheduled reports yet." %}
{% blocktranslate trimmed %} Open a saved view on a list page and choose Subscribe to get it by email as a CSV every day, week or month. {% endblocktranslate %}
| {% translate "When" %} | {% translate "Report" %} | {% translate "Status" %} | {% translate "Rows" %} | {% translate "To" %} | {% translate "Time" %} |
|---|---|---|---|---|---|
{{ run.subscription.view.name }}
{% if everyone %}{{ run.subscription.user.get_username }}{% endif %}
{{ run.get_trigger_display }}
|
{{ run.get_status_display }}
{% if run.status == "sent" and not run.attached %} {% translate "Sent without the file: it was over the size limit." %} {% endif %} {% if run.reason %}{{ run.reason }} {% endif %} {% if run.error %}{{ run.error }} {% endif %} |
{{ run.rows|default_if_none:"—" }} | {% if run.status == "sent" %}{{ run.recipients_count }}{% else %}—{% endif %} | {% if run.duration_ms is not None %}{{ run.duration_ms }} ms{% else %}—{% endif %} |
{% translate "Nothing has been sent yet." %}