{% extends 'generic/object_detail.html' %} {% load helpers %} {% block extra_styles %} {% endblock %} {% block extra_breadcrumbs %} {% for ancestor in object.ancestors %}
  • {{ ancestor|hyperlinked_object:"name" }}
  • {% endfor %} {% endblock %} {% block content_left_page %}
    Location Type
    Description {{ object.description|placeholder }}
    Hierarchy
      {% for ancestor in object.ancestors %}
    • {{ ancestor|hyperlinked_object:"name" }}{% if ancestor.nestable %} {% endif %}
        {% endfor %}
      • {{ object }}{% if object.nestable %} {% endif %}
      • {% for ancestor in object.ancestors %}
    • {% endfor %}
    Nestable {{ object.nestable|render_boolean }}
    Content Type(s) {% if object.content_types.all %}
      {% for content_type in object.content_types.all|dictsort:"model"|dictsort:"app_label" %}
    • {{ content_type }}
    • {% endfor %}
    {% else %} {{ None|placeholder }} {% endif %}
    Child Location Type(s) {{ children_table.rows|length }}
    Locations {{ locations_table.rows|length }}
    {% endblock content_left_page %} {% block content_full_width_page %}
    Child Location Type(s)
    {% include 'inc/table.html' with table=children_table %} {% if perms.dcim.add_locationtype %} {% endif %}
    {% include 'inc/paginator.html' with paginator=children_table.paginator page=children_table.page %}
    Location(s) of this Type
    {% include 'inc/table.html' with table=locations_table %} {% if perms.dcim.add_location %} {% endif %}
    {% include 'inc/paginator.html' with paginator=locations_table.paginator page=locations_table.page %} {% endblock content_full_width_page %}