{% extends "site/simple_content.html" %} {% block content %}
{% csrf_token %}
{% if objects.items %} {{ source }} proposes the following changes to:

{% for obj, type in objects.items %} {% endfor %} {% if invalid_permissions %}
You do not have permissions to make changes to:

{% for obj, type in invalid_permissions.items %} {% endfor %} {% endif %}

{{ reason }}

{% elif invalid_permissions %}
{{ source }} proposes changes. You do not have permissions to make changes to:

{% for obj, type in invalid_permissions.items %} {% endfor %} {% else %} {{ source }} proposes changes, but there is nothing to update. {% endif %}
{% for data in diffs %} {% with forloop.counter0 as index %} {% for obj, type in objects.items %} {% if forloop.counter0 == index %}

{% if obj.ref_tag == "ixlan" %}{{ obj.ix.name }}{% else %}{{ obj }}{% endif %} - {{ type|title }}

{% endif %} {% endfor %} {% endwith %} {% for field, values in data.diff.items %} {% endfor %}
Field Current Proposed Update
{{ values.label }} {{ values.old }} {{ values.new }}
{% endfor %} {% if objects.items %}
{% endif %}
{% endblock %}