mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
Update netbox/templates/dcim/device.html
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
parent
aa13f45b78
commit
2e5d00ba3b
@ -314,7 +314,7 @@
|
|||||||
<th scope="row">Weight</th>
|
<th scope="row">Weight</th>
|
||||||
<td>
|
<td>
|
||||||
{% if object.total_weight %}
|
{% if object.total_weight %}
|
||||||
{{ object.total_weight|floatformat }} {{ object.device_type.get_weight_unit_display }}
|
{{ object.total_weight|floatformat }} Kilograms
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ ''|placeholder }}
|
{{ ''|placeholder }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user