{% extends 'generic/object_retrieve.html' %} {% load buttons %} {% load helpers %} {% block extra_buttons %} {% if perms.dcim.change_module %}
{% endif %} {% endblock extra_buttons %} {% block extra_nav_tabs %} {% if modulebay_count %} {% endif %} {% with interface_count=object.interfaces.count %} {% if interface_count %} {% endif %} {% endwith %} {% with frontport_count=object.front_ports.count %} {% if frontport_count %} {% endif %} {% endwith %} {% with rearport_count=object.rear_ports.count %} {% if rearport_count %} {% endif %} {% endwith %} {% with consoleport_count=object.console_ports.count %} {% if consoleport_count %} {% endif %} {% endwith %} {% with consoleserverport_count=object.console_server_ports.count %} {% if consoleserverport_count %} {% endif %} {% endwith %} {% with powerport_count=object.power_ports.count %} {% if powerport_count %} {% endif %} {% endwith %} {% with poweroutlet_count=object.power_outlets.count %} {% if poweroutlet_count %} {% endif %} {% endwith %} {% endblock extra_nav_tabs %}