{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Computes" %}{% endblock %} {% block content %}
{% include 'computes/create_comp_block.html' %}

{% trans "Computes" %}

{% include 'errors_block.html' %}
{% if computes_info %} {% for compute in computes_info %}
{% ifequal compute.status 1 %}

{{ compute.name }}

{% else %}

{{ compute.name }}

{% endifequal %}

{% trans "Status:" %}

{% if compute.status %}

{% trans "Connected" %}

{% else %}

{% trans "Not Connected" %}

{% endif %}
{% endfor %} {% else %}
{% trans "Warning:" %} {% trans "Hypervisor doesn't have any Computes" %}
{% endif %}
{% endblock %}