{% extends "ui/panels/_base.html" %} {% load i18n %} {% block panel_content %}
{% if can_decide %}

{% trans "Applying writes this plan to" %} {{ object.flow.target }}. {% trans "Before it writes, the plan is checked against the target again. If the target changed, nothing is written." %}

{% csrf_token %}
{% csrf_token %}
{% elif decide_reason %} {{ decide_reason }} {% elif can_resume %}

{% trans "The apply stopped partway. Resuming re-runs the approved plan and skips what already landed." %}

{% csrf_token %}
{% elif busy %} {% trans "Working. This page reloads until the run settles." %} {% elif object.status == "stale" %}
{% trans "Nothing was written." %} {% trans "The target changed after this plan was made, so applying it would have overwritten a change nobody reviewed." %}
{% elif object.status == "applied" %} {% trans "Applied." %} {% elif object.status == "drifted" %} {% trans "A drift report is never applied. Plan to bring the target back to the inventory." %} {% elif object.status == "no_changes" %} {% trans "The target already matches the inventory." %} {% else %} {% trans "Nothing to decide." %} {% endif %} {% if object.error and object.status != "stale" %}
{{ object.error }}
{% endif %} {% if can_plan_again %}
{% csrf_token %}
{% endif %}
{% endblock panel_content %}