{% load i18n %}{% load operations %} {# the VM list of instances (instances.views.vm_list_context), on the VM list and on a host's Instances page #} {# (one_host: no host column, no host groups); its scripts are vm_list_scripts.html #} {% if instances %} {# the state filter: table_filter.js counts each state's VMs the search finds #} {% include 'common/tag_filter.html' %} {% if powerable %} {# the VMs chosen in the list (bulk_power_box.html), a job each (instances.jobs.POWER); bulk_power.js counts those on screen #} {# and shows this bar at the foot of the window while any is chosen #} {% endif %}
{% endif %} {% if not instances %}

{% trans "There are no VMs here yet." %}

{% elif app_settings.VIEW_INSTANCES_LIST_STYLE == 'grouped' and request.user.is_superuser and not one_host %} {% include 'allinstances_index_grouped.html' %} {% else %} {% include 'allinstances_index_nongrouped.html' %} {% endif %} {% if instances %} {# table_filter.js shows it while no row matches #} {% endif %}