diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index b3cab28db..60c8324e0 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -1,4 +1,5 @@ {% extends 'base.html' %} +{% load render_table from django_tables2 %} {% load buttons %} {% load static %} {% load helpers %} @@ -490,7 +491,7 @@ - {% include 'responsive_table.html' with table=interface_table %} + {% render_table interface_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=frontport_table %} + {% render_table frontport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=rearport_table %} + {% render_table rearport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=consoleport_table %} + {% render_table consoleport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=consoleserverport_table %} + {% render_table consoleserverport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=powerport_table %} + {% render_table powerport_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=poweroutlet_table %} + {% render_table poweroutlet_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=devicebay_table %} + {% render_table devicebay_table 'inc/table.html' %} - {% include 'responsive_table.html' with table=inventoryitem_table %} + {% render_table inventoryitem_table 'inc/table.html' %}