{% extends 'generic/object.html' %} {% load static %} {% load i18n %} {% load rack_design %} {# Read-only projected CHASSIS elevation: every chassis in the design's scope #} {# as a column of bays, rendered from the SAME inc/chassis_column.html the #} {# editable layer uses (editable=False) and the SAME projection helper, so the #} {# two can never disagree about what is in a bay. #} {# #} {# It is the chassis twin of design_elevation.html: same shell, same legend #} {# filter, same hover card, no edit affordances anywhere. #} {% block head %} {{ block.super }} {% endblock head %} {% block content %}

{% blocktrans with design=object.title %}Projected chassis: {{ design }}{% endblocktrans %}
{% trans "Rack elevation" %} {% if perms.netbox_rack_design.change_design %} {% trans "Open editor" %} {% endif %}

{# Read-only root: scopes the static-grid init and the hover card. #}
{% if chassis_columns %}
{% for col in chassis_columns %} {% include 'netbox_rack_design/inc/chassis_column.html' with col=col editable=False %} {% endfor %}
{% else %}

{% trans "This design has no chassis with bays in scope." %}

{% endif %}
{% endblock content %} {% block javascript %} {{ block.super }} {% endblock javascript %}