kkthxbye-code 3 лет назад
Родитель
Сommit
5202d0add9
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      netbox/templates/dcim/virtualdevicecontext.html

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

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