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

{% trans 'Hardware Inventory' %}

{{ cpus }} {% trans 'CPU cores' %}
{{ memory_gb }} {% trans 'GB of memory' %}
{{ local_gb }} {% trans 'GB of storage' %}

{% trans 'Power Status' %}

{% trans "Provisioned nodes" %}

{% if meter_conf %} {% url 'horizon:infrastructure:nodes:nodes_performance' as node_perf_url %}
{% for meter_label, url_part, y_max in meter_conf %}
{% include "infrastructure/_performance_chart.html" with label=meter_label y_max=y_max url=node_perf_url|add:"?"|add:url_part only %}
{% endfor %} {% else %}

{% trans 'Metering service is not enabled.' %}

{% endif %}