From 42b43e2e342f721289aa7a215864793d73c4c7e5 Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Mon, 8 May 2023 20:41:17 +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 13d5f2a94..e352f308f 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -314,7 +314,7 @@ Weight {% if object.device_type.weight %} - {{ object.device_type.weight|floatformat }} {{ object.device_type.get_weight_unit_display }} + {{ object.total_weight|floatformat }} {{ object.device_type.get_weight_unit_display }} {% else %} {{ ''|placeholder }} {% endif %}