Przeglądaj źródła

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

Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
Jonathan Senecal 6 lat temu
rodzic
commit
f041c762ac
1 zmienionych plików z 1 dodań i 1 usunięć
  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>