{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load i18n %} {% block content %} {# T1.9 decision 3: an unrealized planned rack whose (location, name) now #} {# matches a real dcim.Rack is worse than dead weight -- Apply would ADOPT #} {# that rack (D5) the moment this row is used, so surface it loudly rather #} {# than leaving a planner to discover it only when Apply behaves #} {# differently than expected. #} {% if object.matches_existing_rack %} {% endif %}

{% trans "Planned rack" %}

{# Set only once a design using this planned rack is applied #} {# (PLAN-templates.md D7) -- from then on every design derefs #} {# through this to the real rack. #}
{% trans "Name" %} {{ object.name }}
{% trans "Location" %} {{ object.location|linkify }}
{% trans "Site" %} {{ object.site|linkify|placeholder }}
{% trans "U height" %} {{ object.u_height }}
{% trans "Realized rack" %} {{ object.realized_rack|linkify|placeholder }}
{% trans "Description" %} {{ object.description|placeholder }}
{% include 'inc/panels/custom_fields.html' %} {% include 'inc/panels/comments.html' %} {% plugin_left_page object %}
{# Who is standing in the way of a delete -- and where to go to fix it. #}

{% trans "Used by designs" %}

{% if referencing_designs %} {% for design in referencing_designs %} {% endfor %}
{{ design|linkify }} {% trans "Open editor" %}
{% else %}
{% trans "No design plans across this rack, so it can be deleted." %}
{% endif %}
{% include 'inc/panels/tags.html' %} {% plugin_right_page object %}
{% plugin_full_width_page object %} {% endblock content %}