mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
Closes #3277: Add cable trace buttons for console and power ports
This commit is contained in:
parent
9f50ced6fc
commit
cf770bf40c
@ -2,6 +2,7 @@ v2.6.1 (FUTURE)
|
|||||||
|
|
||||||
## Enhancements
|
## Enhancements
|
||||||
|
|
||||||
|
* [#3277](https://github.com/digitalocean/netbox/issues/3277) - Add cable trace buttons for console and power ports
|
||||||
* [#3281](https://github.com/digitalocean/netbox/issues/3281) - Hide custom links which render as empty text
|
* [#3281](https://github.com/digitalocean/netbox/issues/3281) - Hide custom links which render as empty text
|
||||||
|
|
||||||
## Bug Fixes
|
## Bug Fixes
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
<td>
|
<td>
|
||||||
{% if cp.cable %}
|
{% if cp.cable %}
|
||||||
<a href="{{ cp.cable.get_absolute_url }}">{{ cp.cable }}</a>
|
<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 %}
|
{% else %}
|
||||||
—
|
—
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
<td>
|
<td>
|
||||||
{% if pp.cable %}
|
{% if pp.cable %}
|
||||||
<a href="{{ pp.cable.get_absolute_url }}">{{ pp.cable }}</a>
|
<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 %}
|
{% else %}
|
||||||
—
|
—
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user