Browse Source

Remove explicit reference to the `name` field

Remove the explicit usage of the `name` field, and let the __str__ method of the ConsoleServerPort class handle the display
Tom Strickx 7 years ago
parent
commit
1b5aa67f5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/dcim/inc/consoleserverport.html

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

@@ -5,7 +5,7 @@
         </td>
     {% endif %}
     <td>
-        <i class="fa fa-fw fa-keyboard-o"></i> {{ csp.name }}
+        <i class="fa fa-fw fa-keyboard-o"></i> {{ csp }}
     </td>
     <td></td>
     {% if csp.connected_console %}