diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index 6cc859749..217592fb1 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -110,6 +110,31 @@ + {% if object.get_total_weight %} +
Device Weight | ++ {% if object.device_type.weight %} + {{ object.device_type.weight|floatformat }} {{ object.device_type.get_weight_unit_display }} + {% else %} + {{ ''|placeholder }} + {% endif %} + | +
---|---|
Total Weight | +{{ object.get_total_weight|floatformat }} Kilograms | +