{% extends 'generic/object.html' %} {% load helpers %} {% load i18n %} {% block title %}{{ object }} - {% trans "Drift Report" %}{% endblock %} {% block extra_controls %}  {% trans "Sync" %} {% endblock extra_controls %} {% block content %}
{% trans "Drift Summary" %}
{% trans "In sync" %} {% if report.in_sync %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %}
{% trans "Drifted models" %} {{ report.drifted_model_count }} / {{ report.model_count }}
{% trans "Total drift" %} {{ report.total_drift }}
{% trans "From preview" %} {{ report.generated_at|placeholder }}
{% trans "Per-Model Drift (NetBox vs Forward)" %}
{% for row in report.models %} {% empty %} {% endfor %}
{% trans "Model" %} {% trans "Forward rows" %} {% trans "Pending changes" %} {% trans "Pending removals" %} {% trans "Drift" %} {% trans "In sync" %}
{{ row.model }} {{ row.forward_rows|placeholder }} {{ row.pending_changes }} {{ row.pending_removes }} {% if row.drift %}{{ row.drift }}{% else %}0{% endif %} {% if row.in_sync %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}
{% trans "No model results in the preview." %}
{% endblock content %}