{% load i18n %}

{% trans "Overview" %}

{% trans "Project Name" %}
{{ project.name }}
{% trans "Project ID" %}
{{ project.id }}
{% trans "Type" %}
{{ project.project_type_name }}
{% if domain_enabled %}
{% trans "Domain Name" %}
{{ project.domain_name }}
{% endif %}
{% trans "Instances" %}
{{ instances_count }}
{% trans "Enabled" context "Male form translation" %}
{{ project.enabled|yesno|capfirst }}
{% trans "Description" %}
{{ project.description|default:_("None") }}
{% trans "Root volume location" %}
{% if project.use_cinder_root %}
{% trans "Block storage" %}
{% trans "Volumes name pattern" %}
{{ project.volume_name_pattern }}
{% trans "Volume size(Gb)" %}
{{ project.volume_size }}
{% trans "Volume type" %}
{{ project_volume_type_name }}
{% trans "Delete on terminate" %}
{{ project.delete_on_termination|yesno|capfirst }}
{% else %}
{% trans "Compute node" %}
{% endif %}

{% trans "Default" %}

{% trans "Availability zone" %}
{{ project.availability_zone }}
{% trans "Operation mode" %}
{{ project.operation_mode_name|default_if_none:"-" }}
{% trans "Instance names pattern" %}
{{ project.instance_name_pattern|default_if_none:"-" }}
{% trans "Reserve instances count" %}
{{ project.min_reserve_vm|default_if_none:"-" }}
{% trans "Default image" %}
{% if image_url %} {{ project.image_name }} {% else %}{{ project.image_name|default_if_none:"-" }}{% endif %}
{% trans "Default flavor" %}
{{ project.flavor|default_if_none:"-" }}
{% trans "Default network" %}
{% if network_url %} {{ project.network_name }} {% else %} {{ project.network_name|default_if_none:"-" }} {% endif %}
{% if can_view_quotas %}

{% trans "Quotas" %}

{% for label, quota in quotas.items %}
{{ label }}
{{ quota|default_if_none:'-' }}
{% empty %} {% trans "No quotas." %} {% endfor %}
{% endif %}
{% if protocol_data %}

{% trans "Terminal protocol" %}

{% for section_name, section_data in protocol_data %}
{{ section_name }}
{% for option, option_data in section_data %}
{{ option }}
{{ option_data|default_if_none:""|safe|escape }}
{% endfor %}
{% endfor %}
{% endif %}

{% trans "SLA" %}

{% trans "Up time" %}
{{ up_time }}%
{% trans "Recovery time" %}
{{ recovery_time }} {% trans "h" %}
{% trans "Movable" %}
{{ movable|yesno|capfirst }}