{% extends 'base/layout.html' %} {% load helpers %} {% load i18n %} {% block title %}{{ service }} — {% trans "Resolve" %}{% endblock %} {% block content %}
{% trans "Resolution Preview" %} — {{ service }}
{% if result.errors %}
{% trans "Errors" %}
    {% for error in result.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %} {% if result.warnings %}
{% trans "Warnings" %}
    {% for warning in result.warnings %}
  • {{ warning }}
  • {% endfor %}
{% endif %}

{{ result.to_add|length }}

{% trans "to add" %}

{{ result.to_remove|length }}

{% trans "to remove" %}

{{ result.total_planned|add:'0' }}

{% trans "total planned" %}

{% if planned_preview %} {% for item in planned_preview %} {% endfor %}
{% trans "Node" %} {% trans "Object" %} {% trans "Action" %}
{{ item.node }} {{ item.object }} {% if item.action == "add" %} {% trans "add" %} {% else %} {% trans "keep" %} {% endif %}
{% else %}

{% trans "No objects would be bound." %}

{% endif %}
{% trans "Commit" %}

{% trans "Committing will add/remove bindings. Allocated objects (e.g. IP addresses) are not deleted on removal — only the binding is removed." %}

{% csrf_token %} {{ form.as_p }} {% trans "Cancel" %}
{% endblock %}