Sfoglia il codice sorgente

Add missing interfaces table

Jeremy Stretch 7 anni fa
parent
commit
669fe1f192
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      netbox/templates/dcim/devicetype.html

+ 7 - 0
netbox/templates/dcim/devicetype.html

@@ -160,6 +160,13 @@
         </div>
     </div>
 {% endif %}
+{% if devicetype.interface_templates.exists %}
+    <div class="row">
+        <div class="col-md-12">
+            {% include 'dcim/inc/devicetype_component_table.html' with table=interface_table title='Interfacaes' add_url='dcim:devicetype_add_interface' delete_url='dcim:devicetype_delete_interface' %}
+        </div>
+    </div>
+{% endif %}
 {% if devicetype.power_outlet_templates.exists %}
     <div class="row">
         <div class="col-md-12">