{% load helpers %} {# renders panel on object (device, module) with firmware info assigned to it #}
Assignments {% if perms.netbox_firmware.change_bios %} {% endif %}
{# Device types with clickable counts (only if there are any) #} {% if device_type_counts %}
Device types

    {% for row in device_type_counts %}
  • {{ row.device__device_type__model }} {{ row.count }}
  • {% endfor %}
{% endif %} {# Module types with clickable counts (only if there are any) #} {% if module_type_counts %}
Module types

    {% for row in module_type_counts %}
  • {{ row.module__module_type__model }} {{ row.count }}
  • {% endfor %}
{% endif %}