mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Changes to template, view and CablePath class to
indicate to users whether the cable length is accurate or not.
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
<h5>Total segments: {{ traced_path|length }}</h5>
|
||||
<h5>Total length:
|
||||
{% if total_length %}
|
||||
{{ total_length|floatformat:"-2" }} Meters /
|
||||
{% if not is_definitive %}>{% endif %}{{ total_length|floatformat:"-2" }} Meters /
|
||||
{{ total_length|meters_to_feet|floatformat:"-2" }} Feet
|
||||
{% else %}
|
||||
<span class="text-muted">N/A</span>
|
||||
|
Reference in New Issue
Block a user