Przeglądaj źródła

Linkify primary IP for VDC

kkthxbye-code 3 lat temu
rodzic
commit
5202d0add9
1 zmienionych plików z 2 dodań i 2 usunięć
  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>