{% extends 'dcim/rack/base.html' %} {% load buttons %} {% load helpers %} {% load static %} {% load plugins %} {% load i18n %} {% load mptt %} {% block content %}
| {% trans "Rack Weight" %} | {% if object.weight %} {{ object.weight|floatformat }} {{ object.get_weight_unit_display }} {% else %} {{ ''|placeholder }} {% endif %} |
|---|---|
| {% trans "Maximum Weight" %} | {% if object.max_weight %} {{ object.max_weight }} {{ object.get_weight_unit_display }} {% else %} {{ ''|placeholder }} {% endif %} |
| {% trans "Total Weight" %} | {% if object.total_weight %} {{ object.total_weight|floatformat }} {% trans "Kilograms" %} ({{ object.total_weight|kg_to_pounds|floatformat }} {% trans "Pounds" %}) {% else %} {{ ''|placeholder }} {% endif %} |