{% extends 'base/layout.html' %} {% block title %}{{ device }} - Tenant Group Permissions Sync{% endblock %} {% block header %} {{ block.super }} {% endblock %} {% block content %}

Device

Name:{{ device.name }}
{{ cf_name }}: {% if device_cf_value %} {{ device_cf_value }} {% else %} Not set {% endif %}

Components Status

Total components: {{ components_total }}

Needing sync: {{ components_to_sync|length }}

Already synced: {{ components_synced|length }}

{% if components_to_sync %}

Components Needing Synchronization

{% for c in components_to_sync %} {% endfor %}
Type Name Current value
{{ c.model }} {{ c.name }} {% if c.current_value %} {{ c.current_value }} {% else %} Not set {% endif %}
{% csrf_token %}
{% else %}
All components are already synchronized!
{% endif %} {% if components_synced %}

Already Synchronized Components

{% for c in components_synced %} {% endfor %}
Type Name Value
{{ c.model }} {{ c.name }} {% if c.current_value %} {{ c.current_value }} {% else %} Not set {% endif %}
{% endif %} {% endblock %}