mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
replaced device type weight with device total weight #12286
This commit is contained in:
parent
259d0e96f2
commit
42b43e2e34
@ -314,7 +314,7 @@
|
|||||||
<th scope="row">Weight</th>
|
<th scope="row">Weight</th>
|
||||||
<td>
|
<td>
|
||||||
{% if object.device_type.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 %}
|
{% else %}
|
||||||
{{ ''|placeholder }}
|
{{ ''|placeholder }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user