{% extends 'generic/object.html' %} {% load buttons %} {% load static %} {% load helpers %} {% load plugins %} {% block breadcrumbs %} {{ block.super }} {% if object.parent_bay %} {% endif %} {% endblock %} {% block extra_controls %} {% if perms.dcim.change_device %} {% endif %} {% endblock %} {% block extra_tabs %} {% if perms.dcim.napalm_read_device and object.status == 'active' and object.primary_ip and object.platform.napalm_driver %} {# NAPALM-enabled tabs #} {% endif %} {% endblock %}