Parcourir la source

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

Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
Jonathan Senecal il y a 6 ans
Parent
commit
f041c762ac
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>