{% extends 'base.html' %}{% block content %}

{{t('mesh.title')}}

{{linked}}{{t('mesh.linked_assets')}}
{{conflicts}}{{t('mesh.conflicts')}}
{{missing}}{{t('mesh.missing')}}

{{t('mesh.live_log')}}

{{t('mesh.ready')}}
{{t('mesh.ready_message')}}

1. {{ t('mesh.connection') }}

{{ t('mesh.password_env_help') }}

{{ t('mesh.asset_matching') }}

{{ t('mesh.asset_matching_help') }}

{{ t('mesh.match_mac_help') }} {{ t('mesh.match_serial_manufacturer_help') }}

{{ t('mesh.node_id_identity_help') }}

2. {{ t('settings.mesh_mapping') }}

{% set mesh = config.meshcentral %} {% set category_mapping = mesh.get('category_mapping', {}) %}

{{ t('settings.mesh_mapping_help') }}

{% set mesh_types = [ ('1', 'settings.mesh_type_desktop'), ('2', 'settings.mesh_type_notebook'), ('3', 'settings.mesh_type_mobile'), ('4', 'settings.mesh_type_server'), ('5', 'settings.mesh_type_5'), ('6', 'settings.mesh_type_6'), ('7', 'settings.mesh_type_7'), ('8', 'settings.mesh_type_linux_other') ] %} {% for type_id, type_label in mesh_types %} {% endfor %}

3. {{ t('mesh.field_mappings') }}

{{ t('mesh.mappings_help') }} {{ t('mesh.mappings_examples') }}: node.osdesc, sys.hardware.windows.cpu[].Name, node.name|name.

{% for m in mappings %} {% endfor %}
{{ t('common.active') }}{{ t('mesh.priority') }}{{ t('mesh.target_field') }}Source Path{{ t('mesh.transformation') }}{{ t('mesh.multi_values') }}{{ t('mesh.separator') }}{{ t('mesh.update_rule') }}{{ t('common.description') }}
{% if m.is_system %}{{ t('mesh.system_mapping') }}{% else %}{{ t('mesh.custom_mapping') }}{% endif %} {% if not m.is_system %}{% endif %}

4. {{ t('mesh.new_mapping') }}

{{ t('mesh.new_mapping_help') }}

{{t('mesh.recent_runs')}}

{% for run in runs %}{% else %}{% endfor %}
{{t('mesh.start_time')}}{{t('assets.status')}}{{t('mesh.found')}}{{t('mesh.created')}}{{t('mesh.changed')}}{{t('mesh.conflicts')}}{{t('mesh.errors')}}{{t('mesh.message')}}
{{run.status}}{{run.devices_found}}{{run.created_count}}{{run.updated_count}}{{run.conflict_count}}{{run.error_count}}{{run.message or ''}}
{{t('mesh.no_runs')}}
{% endblock %}