瀏覽代碼

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>