From aa13f45b78c6571e52c5b6bd41704226eec61b65 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Mon, 8 May 2023 20:43:50 +0530 Subject: [PATCH] replaced device type weight with device total weight #12286 --- netbox/templates/dcim/device.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index e352f308f..95a3fec8a 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -313,7 +313,7 @@ Weight - {% if object.device_type.weight %} + {% if object.total_weight %} {{ object.total_weight|floatformat }} {{ object.device_type.get_weight_unit_display }} {% else %} {{ ''|placeholder }}