{% extends "django_qbe2/scheduled_base.html" %} {% load i18n %} {% block content %}

{{ schedule.name }}

{% if schedule.enabled %}{% translate "Enabled" %}{% else %}{% translate "Paused" %}{% endif %}

{% blocktranslate with frequency=schedule.frequency time=schedule.local_time timezone=schedule.timezone %}{{ frequency|capfirst }} at {{ time }} ({{ timezone }}){% endblocktranslate %}

{% if schedule.weekday_label %}

{% blocktranslate with weekday=schedule.weekday_label %}Every {{ weekday }}{% endblocktranslate %}

{% endif %}

{% blocktranslate with next=schedule.next_run_local %}Next run: {{ next }}{% endblocktranslate %}

{% blocktranslate with format=schedule.get_format_display count=recipient_count %}{{ format }} attachment · {{ count }} recipient{% plural %}{{ format }} attachment · {{ count }} recipients{% endblocktranslate %}

{% translate "Recipients are hidden from one another in each email." %}

{% translate "Edit schedule" %} {% translate "Edit report definition" %} {% translate "Delete" %} {% if schedule.enabled %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %}

{% translate "Recent runs" %}

{% for run in runs %}

{{ run.get_status_display }} · {{ run.scheduled_for_local }}

{% blocktranslate with attempts=run.attempts %}Attempts: {{ attempts }}{% endblocktranslate %}

{% if run.error_summary %}

{{ run.error_summary }}

{% endif %}
{% empty %}

{% translate "No runs yet." %}

{% endfor %}
{% endblock %}