{% extends "base.html" %} {% load i18n %} {% load icons %} {% load static %} {% block title %}{% trans "Instances" %}{% endblock %} {% block style %} {% endblock %} {% block page_heading %}{% trans "Instances" %}{% endblock page_heading %} {% block page_heading_extra %} {% if request.user.is_superuser %} {% include 'create_inst_block.html' %} {% endif %} {% include 'search_block.html' %} {% endblock page_heading_extra %} {% block content %} {% for compute in computes %} {% if compute.status is not True %} {% endif %} {% endfor %}
{% if app_settings.VIEW_INSTANCES_LIST_STYLE == 'grouped' and request.user.is_superuser or 'instances.view_instances' in perms %} {% include 'allinstances_index_grouped.html' %} {% else %} {% include 'allinstances_index_nongrouped.html' %} {% endif %}
{% endblock content %} {% block script %} {% if request.user.is_superuser %} {% endif %} {% endblock script %}