{% extends "base.html" %}
{% load i18n %}
{% load url from future %}
{% block heading %}{{ rackrow }}{% endblock %}
{% block content %}
{% trans "Rackrow Info" %}
{% trans "Racks Info" %}
{% for rack in racks %}
{{ rack }}
|
{% for eq in rack.equipments %}
{% if eq.serial %}
{% for unit in eq.model.units %}
{{ eq.unit|add:unit|add:"-1"|stringformat:"02d" }} |
{% if unit == eq.model.u %}
{% if eq.ticket_set.all %}
{{ eq.model }}i |
{% else %}
{% if eq.comments %}
{{ eq.model }} i |
{% else %}
{{ eq.model }} |
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% else %}
{% if eq.rack.model.inrow_ac %}
{{ eq.unit|stringformat:"02d" }} |
|
{% else %}
{{ eq.unit|stringformat:"02d" }} |
— |
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% endblock %}