{% extends "base.html" %} {% load i18n %} {% load url from future %} {% block heading %} {% if equipment.prev %} {% endif %} {{ equipment }} {% if equipment.next %} {% endif %} {% endblock %} {% block content %}
{% trans "Project" %}: | {% if equipment.allocation %}{{ equipment.allocation.name }}{% else %}-{% endif %} |
---|---|
{% trans "Model" %}: | {{ equipment.model }} |
{% trans "Serial" %}: | {{ equipment.serial }} |
{% trans "Rack" %}: | {% if equipment.rack %}{{ equipment.rack }}{% else %}-{% endif %} |
{% trans "RackUnit" %}: | {% if equipment.rack %}{{ equipment.rack }}{% if equipment.unit %}{{ equipment.unit|stringformat:"02d" }}{% endif %}{% else %}-{% endif %} |
{% trans "Purpose" %}: | {{ equipment.purpose }} |
{% trans "OOB MAC" %}: | {% if equipment.servermanagement %}{{ equipment.servermanagement.mac }}{% endif %} |
{% trans "OOB Hostname" %}: | {% if equipment.servermanagement %}{{ equipment.servermanagement.hostname }}{% endif %} |
{% trans "Tickets" %}: | {% for ticket in equipment.ticket_set.all %} {{ ticket.name }}{% if not forloop.last %},{% endif %} {% endfor %} |
{% trans "Comments" %}: | {% if equipment.comments %}{{ equipment.comments }}{% endif %} |
{% trans "Attributes" %}: | {{ equipment.attrs.all|join:" " }} |