Browse Source

Closes #1303: Highlight installed interface connections in green on device view

Jeremy Stretch 7 years ago
parent
commit
cd5a86bfcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/dcim/inc/interface.html

+ 1 - 1
netbox/templates/dcim/inc/interface.html

@@ -1,4 +1,4 @@
-<tr class="interface{% if iface.connection and not iface.connection.connection_status %} info{% endif %}">
+<tr class="interface{% if iface.connection and iface.connection.connection_status %} success{% elif iface.connection and not iface.connection.connection_status %} info{% endif %}">
     {% if selectable and perms.dcim.change_interface or perms.dcim.delete_interface %}
         <td class="pk">
             <input name="pk" type="checkbox" value="{{ iface.pk }}" />