{% extends 'generic/object.html' %} {% load buttons %} {% load helpers %} {% load plugins %} {% block title %}{{ object.manufacturer }} {{ object.model }}{% endblock %} {% block breadcrumbs %} {{ block.super }} {% endblock %} {% block extra_controls %} {% if perms.dcim.change_devicetype %} {% endif %} {% endblock %} {% block extra_tabs %} {% with interface_count=object.interfacetemplates.count %} {% if interface_count %} {% endif %} {% endwith %} {% with frontport_count=object.frontporttemplates.count %} {% if frontport_count %} {% endif %} {% endwith %} {% with rearport_count=object.rearporttemplates.count %} {% if rearport_count %} {% endif %} {% endwith %} {% with consoleport_count=object.consoleporttemplates.count %} {% if consoleport_count %} {% endif %} {% endwith %} {% with consoleserverport_count=object.consoleserverporttemplates.count %} {% if consoleserverport_count %} {% endif %} {% endwith %} {% with powerport_count=object.powerporttemplates.count %} {% if powerport_count %} {% endif %} {% endwith %} {% with poweroutlet_count=object.poweroutlettemplates.count %} {% if poweroutlet_count %} {% endif %} {% endwith %} {% endblock %}