Explorar el Código

Prevent the table cell from rendering empty for `interface.label`

Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
Jonathan Senecal hace 6 años
padre
commit
f041c762ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/templates/dcim/interface.html

+ 1 - 1
netbox/templates/dcim/interface.html

@@ -60,7 +60,7 @@
                 </tr>
                 <tr>
                     <td>Label</td>
-                    <td>{{ interface.label }}</td>
+                    <td>{{ interface.label|placeholder }}</td>
                 </tr>
                 <tr>
                     <td>Type</td>