Преглед изворни кода

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>