{% load i18n %}
{% if show_hosts %} {% endif %} {% if app_settings.VM_DRBD_STATUS == 'True' %} {% endif %} {% for instance in instances %} {# searched for its name, title, host and owners, not its buttons #} {% if show_hosts %} {% endif %} {% if app_settings.VM_DRBD_STATUS == 'True' %} {% endif %} {% endfor %}
{% trans 'Name' %}{% trans 'Host' %}{% trans 'Status' %}{% trans 'Role/Disk' %}{% trans 'vCPUs' %} {% trans 'Memory' %} {% trans 'Actions' %}
{% include 'instance_name_cell.html' with owners=show_hosts %} {# the host pages are a superuser's #} {% if request.user.is_superuser %}{{ instance.compute.name }}{% else %}{{ instance.compute.name }}{% endif %} {% include 'instance_state.html' %} {% if instance.drbd == "Primary/OK" or instance.drbd == "Secondary/OK" %}{% else %}{% endif %}{{ instance.drbd }} {{ instance.info.3 }} {% if instance.info %}{% widthratio instance.info.2 1024 1 %} MiB{% endif %} {% include 'instance_actions.html' %}