{% extends 'common/base.html' %} {% load permissions %} {% block title %}::{{ object.name }}{% endblock %} {% block content %}

{{ object.display_name }}

Responsible engineers: {% for person in object.responsible.all %} {{ person }}{% if not forloop.last %}, {% endif %} {% endfor %} {% if object.permissions.responsible.edit %} {% if request.racks_user in object.responsible.all %} {% else %} {% endif %} {% endif %}

{% if object.ssh_link %} {% endif %} {% if ipmi_form %}
{% elif ipmi_link %} {% endif %} {% if object.zabbix_link|and_have_access %} {% endif %} {% if object.jira_issue|and_have_access %} {% endif %} {% if object.dcim_link|and_have_access %} {% endif %}
{% if object.type %} {% endif %} {% if object.facter_location %} {% endif %} {% if object.hardware %} {% endif %} {% if object.memory %} {% endif %} {% if object.dcim_label %} {% endif %} {% if object.dcim_jira_issue %} {% endif %} {% for l2address in object.l2addresses.all %} {% endfor %}
Type {{ object.type.name|may_not_have_access }}
Location {{ object.facter_location|may_not_have_access }}
Hardware {{ object.hardware|may_not_have_access }}
Memory {{ object.memory|may_not_have_access }}
Created {{ object.created|may_not_have_access }}
Modified {{ object.modified|may_not_have_access }}
Related bugs {% include 'inventory/bugs.html' %}
DCIM Label {% if object.dcim_link|and_have_access %} {{ object.dcim_label|may_not_have_access }} {% else %} {{ object.dcim_label|may_not_have_access }} {% endif %}
DCIM Jira Issue {{ object.dcim_jira_issue }}
MAC address {{ forloop.counter }} {{ l2address.address|may_not_have_access }}
{% for name, value in attributes %} {% endfor %}
Name Value
{{ name }} {{ value|may_not_have_access }}
Edit
{% endblock content %}