{% extends "ui/panels/_base.html" %}
{% load i18n %}
{% block panel_content %}
{% if object.kind == "drift" %}
{% if drift_rows %}
| {% trans "Drift" %} | {% trans "Type" %} | {% trans "Key" %} | {% trans "Fields" %} |
{% for row in drift_rows %}
| {{ row.category }} |
{{ row.type_name }} |
{{ row.key }} |
{% for c in row.changes %} {{ c.field }}: {{ c.from }} → {{ c.to }} {% endfor %} |
{% endfor %}
{% else %}
{% trans "No drift." %}
{% endif %}
{% elif op_groups %}
| {% trans "Op" %} | {% trans "Type" %} | {% trans "Key" %} | {% trans "Changes" %} |
{% for kind, types in op_groups %}
{% for type_name, ops in types %}
{% for op in ops %}
| {{ kind }} |
{{ type_name }} |
{{ op.key }} |
{% for c in op.changes %} {{ c.field }}: {{ c.from }} → {{ c.to }} {% endfor %} |
{% endfor %}
{% endfor %}
{% endfor %}
{% else %}
{% trans "No operations." %}
{% endif %}
{% endblock panel_content %}