{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Computes" %}{% endblock %} {% block content %}
{% include 'create_comp_block.html' %}
{% include 'errors_block.html' %}
{% if computes_info %} {% for compute in computes_info %}
{% if compute.status is True %}
{% else %}
{% endif %}
{% if compute.status is True %} {{ compute.name }} {% else %} {{ compute.name }} {% endif %}
{% trans "Status" %}
{% if compute.status %}
{% trans "Connected" %}
{% else %}
{% trans "Not Connected" %}
{% endif %}
{% trans "Details" %}
{% 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 %}