浏览代码

Link to cable termination objects

Jeremy Stretch 6 年之前
父节点
当前提交
40c416618a
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      netbox/templates/dcim/inc/cable_termination.html

+ 3 - 1
netbox/templates/dcim/inc/cable_termination.html

@@ -16,7 +16,9 @@
         </tr>
         <tr>
             <td>Component</td>
-            <td>{{ termination }}</td>
+            <td>
+                <a href="{{ termination.get_absolute_url }}">{{ termination }}</a>
+            </td>
         </tr>
     {% else %}
         {# Circuit termination #}