Explorar el Código

Closes #9517: Linkify Power Port on Power Outlet Object View

Hunter Johnston hace 3 años
padre
commit
e7620b0dd0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/templates/dcim/poweroutlet.html

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

@@ -44,7 +44,7 @@
                         </tr>
                         <tr>
                             <th scope="row">Power Port</th>
-                            <td>{{ object.power_port }}</td>
+                            <td>{{ object.power_port|linkify|placeholder }}</td>
                         </tr>
                         <tr>
                             <th scope="row">Feed Leg</th>