{# SPDX-License-Identifier: Apache-2.0 #} {# Copyright (C) 2025 Marcin Zieba #} {% extends 'generic/object.html' %} {% load helpers %} {% block content %}
{# Left column: profile properties #}
Import Profile
Name{{ object.name }}
Description{{ object.description|placeholder }}
Sheet Name{{ object.sheet_name }}
Source ID Column{{ object.source_id_column|placeholder }}
Custom Field Name{{ object.custom_field_name|placeholder }}
Update Existing{% if object.update_existing %}Yes{% else %}No{% endif %}
Create Missing Device Types{% if object.create_missing_device_types %}Yes{% else %}No{% endif %}
{# Right column: mapping tables #}
{# Column Mappings #}
Column Mappings Add
{% if column_table.rows %} {% include 'inc/table.html' with table=column_table %} {% else %}
No column mappings configured.
{% endif %}
{# Class → Role Mappings #}
Class → Role Mappings Add
{% if class_role_table.rows %} {% include 'inc/table.html' with table=class_role_table %} {% else %}
No class→role mappings configured.
{% endif %}
{# Device Type Mappings #}
Device Type Mappings Add
{% if device_type_table.rows %} {% include 'inc/table.html' with table=device_type_table %} {% else %}
No device type mappings configured.
{% endif %}
{# Column Transform Rules #}
Column Transform Rules Add
{% if transform_table.rows %} {% include 'inc/table.html' with table=transform_table %} {% else %}
No column transform rules configured.
{% endif %}
{% endblock %}