{% extends 'base.html' %} {% load inventory_extras %} {% block content %}

{{ page_obj.paginator.count }} Business unit{{ page_obj.paginator.count|pluralize }}

{% if perms.inventory.add_metabusinessunit %} Create {% endif %}
{{ search_form.source }}
{{ search_form.tag }}
{% if next_url or previous_url %} {% endif %}
{% if perms.inventory.change_metabusinessunit %} {% endif %} {% for mbu in object_list %} {% for bu in mbu.get_current_business_units %} {% endfor %} {% endfor %}
{% if perms.inventory.change_metabusinessunit %} {% endif %} {% if perms.inventory.view_machinesnapshot %} {{ mbu.name }} {% else %} {{ mbu.name }} {% endif %} {% for tag in mbu.tags %} {% inventory_tag tag %} {% endfor %} {% if mbu.api_enrollment_enabled %} Available for API enrollment {% endif %}
{{ bu.source.name }} {{ bu.name }} {% for link in bu.links.all %} {{ bu.source.name }} - {{ link.anchor_text }} {% endfor %}
{% if next_url or previous_url %} {% endif %} {% endblock %} {% block extrajs %} {% endblock %}