Explorar o código

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

Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
Jonathan Senecal %!s(int64=5) %!d(string=hai) anos
pai
achega
f041c762ac
Modificáronse 1 ficheiros con 1 adicións e 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>