From 8797298a7140d730bf5b637ae5e38412675bcc3a Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 15 Feb 2019 10:14:44 -0500 Subject: [PATCH] Fixes #2884: Don't display connect button for wireless interfaces --- CHANGELOG.md | 1 + netbox/templates/dcim/inc/interface.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68be13e7c..4d3d49876 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ v2.5.7 (FUTURE) ## Bug Fixes +* [#2884](https://github.com/digitalocean/netbox/issues/2884) - Don't display connect button for wireless interfaces * [#2888](https://github.com/digitalocean/netbox/issues/2888) - Correct foreground color of device roles in rack elevations * [#2893](https://github.com/digitalocean/netbox/issues/2893) - Remove duplicate display of VRF RD on IP address view * [#2895](https://github.com/digitalocean/netbox/issues/2895) - Fix filtering of nullable character fields diff --git a/netbox/templates/dcim/inc/interface.html b/netbox/templates/dcim/inc/interface.html index 7c1e9f267..f84fef678 100644 --- a/netbox/templates/dcim/inc/interface.html +++ b/netbox/templates/dcim/inc/interface.html @@ -150,7 +150,7 @@ {% if perms.dcim.change_interface %} {% if iface.cable %} {% include 'dcim/inc/cable_toggle_buttons.html' with cable=iface.cable %} - {% elif not iface.is_virtual and perms.dcim.add_cable %} + {% elif iface.is_connectable and perms.dcim.add_cable %}