Просмотр исходного кода

Link to cable termination objects

Jeremy Stretch 5 лет назад
Родитель
Сommit
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>
         <tr>
         <tr>
             <td>Component</td>
             <td>Component</td>
-            <td>{{ termination }}</td>
+            <td>
+                <a href="{{ termination.get_absolute_url }}">{{ termination }}</a>
+            </td>
         </tr>
         </tr>
     {% else %}
     {% else %}
         {# Circuit termination #}
         {# Circuit termination #}