{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Computes" %}{% endblock %} {% block content %}
{% include '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" %}:

{% ifequal compute.status 1 %}

{% trans "Connected" %}

{% else %}

{% trans "Not Connected" %}

{% endifequal %}
{% if compute.details %}

{% trans compute.details %}

{% else %}

{% trans "No details available" %}

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