{% load i18n sizeformat %}
{% trans "Host name" %}
{{ host.hypervisor_hostname }}
{% trans "Id" %}
{{ host.id }}
{% trans "Reservable" %}
{{ host.reservable|yesno|capfirst }}
{% trans "Status" %}
{{ host.status }}
{% trans "Created at" %}
{{ host.created_at|parse_isotime|date:"Y-m-d H:i T"|default:"-" }}
{% trans "Updated at" %}
{{ host.updated_at|parse_isotime|date:"Y-m-d H:i T"|default:"-" }}

{% trans "CPU Specs" %}


{% trans "VCPUs" %}
{{ host.vcpus|default:_("None") }}
{% for key, value in host.cpu_info_dict.items %}
{{ key }}
{{ value }}
{% endfor %}

{% trans "Other Specs" %}


{% trans "RAM" %}
{{ host.memory_mb|mb_float_format }}
{% trans "Local storage" %}
{{ host.local_gb|diskgbformat }}
{% trans "Hypervisor type" %}
{{ host.hypervisor_type }}
{% trans "Hypervisor version" %}
{{ host.hypervisor_version }}
{% for key, value in host.extra_capabilities.items %}
{{ key }}
{{ value }}
{% endfor %}