mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Use segment_count for segment count on trace view
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="trace-end">
|
||||
{% with traced_path=path.origin.trace %}
|
||||
{% if path.is_split %}
|
||||
<h3 class="text-danger">Path split!</h3>
|
||||
<p>Select a node below to continue:</p>
|
||||
@ -39,7 +38,7 @@
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th scope="row">Total segments</th>
|
||||
<td>{{ traced_path|length }}</td>
|
||||
<td>{{ path.segment_count }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Total length</th>
|
||||
@ -54,7 +53,6 @@
|
||||
</tr>
|
||||
</table>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
{% else %}
|
||||
<h3 class="text-center text-muted my-3">
|
||||
|
Reference in New Issue
Block a user