Sfoglia il codice sorgente

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

Co-authored-by: Jeremy Stretch <jeremy.stretch@networktocode.com>
Jonathan Senecal 6 anni fa
parent
commit
f041c762ac
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>