mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #3277: Add cable trace buttons for console and power ports
This commit is contained in:
@ -15,6 +15,9 @@
|
||||
<td>
|
||||
{% if cp.cable %}
|
||||
<a href="{{ cp.cable.get_absolute_url }}">{{ cp.cable }}</a>
|
||||
<a href="{% url 'dcim:consoleport_trace' pk=cp.pk %}" class="btn btn-primary btn-xs" title="Trace">
|
||||
<i class="fa fa-share-alt" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% else %}
|
||||
—
|
||||
{% endif %}
|
||||
|
@ -23,6 +23,9 @@
|
||||
<td>
|
||||
{% if pp.cable %}
|
||||
<a href="{{ pp.cable.get_absolute_url }}">{{ pp.cable }}</a>
|
||||
<a href="{% url 'dcim:powerport_trace' pk=pp.pk %}" class="btn btn-primary btn-xs" title="Trace">
|
||||
<i class="fa fa-share-alt" aria-hidden="true"></i>
|
||||
</a>
|
||||
{% else %}
|
||||
—
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user