{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% load operations %} {% block title %}{{ policy.name }} - {% trans "Backup schedules" %}{% endblock %} {% block style %}{% endblock %} {% block page_heading %}{% trans "Schedules" %} / {{ policy.name }}{% endblock page_heading %} {% block content %}

{% blocktrans with owner=policy.owner.username|default:"–" %}Its jobs run as {{ owner }}, who saved it last.{% endblocktrans %}

{% include "vmbackups/policy_form.html" %}
{% csrf_token %}

{% trans "Runs" %}

{% if runs %}
{% for run in runs %} {% endfor %}
{% trans "Day" %}{% trans "VM" %}{% trans "Result" %}
{{ run.day|date:"Y-m-d" }} {{ run.instance.name }} {% if run.state == "submitted" %}{% if run.operation_id %}{% trans "Backup job" %}{% else %}{% trans "Started" %}{% endif %} {% elif run.state == "skipped" %}{% trans "Skipped" %} {% else %}{% trans "Failed" %}{% endif %} {% if run.note %}
{{ run.note|words }}
{% endif %}
{% else %}

{% trans "No run yet." %}

{% endif %}
{% endblock %} {% block script %} {% endblock %}