瀏覽代碼

Fixes #4905: Fix front port count on device type view

Jeremy Stretch 5 年之前
父節點
當前提交
b17e47101c
共有 2 個文件被更改,包括 9 次插入1 次删除
  1. 8 0
      docs/release-notes/version-2.9.md
  2. 1 1
      netbox/templates/dcim/devicetype.html

+ 8 - 0
docs/release-notes/version-2.9.md

@@ -1,5 +1,13 @@
 # NetBox v2.9
 
+## v2.9.0 (FUTURE)
+
+### Bug Fixes
+
+* [#4905](https://github.com/netbox-community/netbox/issues/4905) - Fix front port count on device type view
+
+---
+
 ## v2.9-beta1 (2020-07-23)
 
 **WARNING:** This is a beta release and is not suitable for production use. It is intended for development and evaluation purposes only. No upgrade path to the final v2.9 release will be provided from this beta, and users should assume that all data entered into the application will be lost. Please reference [the v2.9 beta documentation](https://netbox.readthedocs.io/en/develop-2.9/) for further information regarding this release.

+ 1 - 1
netbox/templates/dcim/devicetype.html

@@ -167,7 +167,7 @@
                     <a href="#interfaces" role="tab" data-toggle="tab">Interfaces {% badge interface_table.rows|length %}</a>
                 </li>
                 <li role="presentation">
-                    <a href="#frontports" role="tab" data-toggle="tab">Front Ports {% badge front_port_table_table.rows|length %}</a>
+                    <a href="#frontports" role="tab" data-toggle="tab">Front Ports {% badge front_port_table.rows|length %}</a>
                 </li>
                 <li role="presentation">
                     <a href="#rearports" role="tab" data-toggle="tab">Rear Ports {% badge rear_port_table.rows|length %}</a>