소스 검색

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 8 년 전
부모
커밋
1b5aa67f5d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 %}