{% load i18n %} {% load url from future%}

{% trans 'Health Status' %}

{% trans 'Deployed Nodes' %} ({{ deployed_nodes|length|default:0 }}) {% if deployed_nodes_error %} {% if deployed_nodes_error|length == 1 %} {% comment %} Replace id with uuid when ironicclient is used instead baremetalclient {% endcomment %} {% url 'horizon:infrastructure:nodes:detail' deployed_nodes_error.0.id as node_detail_url %} {% else %} {% url 'horizon:infrastructure:nodes:index' as nodes_index_url %} {% endif %} {% blocktrans count error_count=deployed_nodes_error|length %} {{ error_count }} node with erros {% plural %} {{ error_count }} nodes with errors {% endblocktrans %} {% else %} {% trans 'All nodes are performing correctly' %} {% endif %}
{% trans 'Free Nodes' %} ({{ free_nodes|length|default:0 }}) {% if free_nodes_error %} {% if free_nodes_error|length == 1 %} {% comment %} Replace id with uuid when ironicclient is used instead baremetalclient {% endcomment %} {% url 'horizon:infrastructure:nodes:detail' free_nodes_error.0.id as node_detail_url %} {% else %} {% url 'horizon:infrastructure:nodes:index' as nodes_index_url %} {% endif %} {% blocktrans count error_count=free_nodes_error|length %} {{ error_count }} node with errors {% plural %} {{ error_count }} nodes with errors {% endblocktrans %} {% else %} {% trans 'All nodes are performing correctly' %} {% endif %}

{% trans 'Provisioning Status' %}

{% trans 'Health Status' %}