소스 검색

Linkify primary IP for VDC

kkthxbye-code 3 년 전
부모
커밋
5202d0add9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      netbox/templates/dcim/virtualdevicecontext.html

+ 2 - 2
netbox/templates/dcim/virtualdevicecontext.html

@@ -31,13 +31,13 @@
           <tr>
             <th scope="row">Primary IPv4</th>
             <td>
-              {{ object.primary_ip4|placeholder }}
+              {{ object.primary_ip4|linkify|placeholder }}
             </td>
           </tr>
           <tr>
             <th scope="row">Primary IPv6</th>
             <td>
-              {{ object.primary_ip6|placeholder }}
+              {{ object.primary_ip6|linkify|placeholder }}
             </td>
           </tr>
           <tr>