{% extends 'generic/_base.html' %} {% load helpers %} {% load i18n %} {% block title %}{{ entry.manufacturer }} {{ entry.model }}{% endblock %} {% block subtitle %}
{{ entry.ndx_id }}
{% endblock subtitle %} {% block controls %}
{% if can_import %}
{% csrf_token %} {% if entry.import_record %} {% else %} {% endif %}
{% endif %} {% if ndx_web_url %} {% trans "View on NDX" %} {% endif %}
{% endblock controls %} {% block content %} {% if not importer %} {% endif %}

{% trans "Catalog Entry" %}

{% if dtl.u_height is not None %} {% endif %} {% if dtl.is_full_depth is not None %} {% endif %} {% if dtl.airflow %} {% endif %} {% if dtl.weight %} {% endif %}
{% trans "Type" %} {{ importer.label|default:entry.type }}
{% trans "Manufacturer" %} {{ entry.manufacturer|placeholder }}
{% trans "Model" %} {{ entry.model|placeholder }}
{% trans "Slug" %} {{ entry.slug|placeholder }}
{% trans "Part number" %} {{ entry.part_number|placeholder }}
{% trans "Vendor" %} {{ entry.vendor_name|default:entry.vendor_slug|placeholder }}
{% trans "Source" %} {% if entry.source == 'netbox_labs' or entry.source == 'both' %} {% trans "NetBox Labs" %} {% endif %} {% if entry.source != 'netbox_labs' %} {% trans "Community" %} {% endif %}
{% trans "Height (U)" %} {{ dtl.u_height }}
{% trans "Full depth" %} {% checkmark dtl.is_full_depth %}
{% trans "Airflow" %} {{ dtl.airflow }}
{% trans "Weight" %} {{ dtl.weight }} {{ dtl.weight_unit }}
{% trans "Imported" %} {% if entry.import_record %} {{ entry.import_record.last_imported|isodatetime }} {% if entry.import_record.status != 'current' %} {% badge entry.import_record.get_status_display bg_color=entry.import_record.get_status_color %} {% endif %} {% else %} {{ ''|placeholder }} {% endif %}

{% trans "Enrichment Coverage" %}

{% for label, percentage in coverage %} {% endfor %}
{{ label }} {% include 'ndx/inc/coverage_bar.html' %}
{% for component in components %}

{{ component.title }} {{ component.rows|length }}

{% for name, label in component.columns %} {% endfor %} {% for row in component.rows %} {% for name, label in component.columns %} {% with value=row|get_key:name %} {% endwith %} {% endfor %} {% endfor %}
{{ label }}
{% if value is True or value is False %}{% checkmark value %}{% else %}{{ value|placeholder }}{% endif %}
{% endfor %} {% endblock content %}