{% load i18n sizeformat parse_date %}

{% trans "Share Group Overview" %}


{% trans "ID" %}
{{ share_group.id }}
{% trans "Name" %}
{{ share_group.name }}
{% trans "Description" %}
{{ share_group.description }}
{% trans "Status" %}
{{ share_group.status|capfirst }}
{% trans "Created" %}
{{ share_group.created_at|parse_date }}
{% trans "Host" %}
{{ share_group.host}}
{% if share_group.source_share_group_snapshot_id %}
{% trans "Source share group snapshot" %}
{{ share_group.source_share_group_snapshot_id}}
{% endif %}
{% trans "Capabilities" %}
{% if share_group.consistent_snapshot_support %} Consistent snapshots are supported at storage {{ share_group.consistent_snapshot_support }} level {% else %} None {% endif %}
{% if share_group.availability_zone %}
{% trans "Availability Zone" %}
{{ share_group.availability_zone }}
{% endif %} {% if share_group.share_network_id %}
{% trans "Share network" %}
{% url 'horizon:admin:share_networks:share_network_detail' share_group.share_network_id as sn_url%}
{{ share_group.share_network_id }}
{% endif %} {% if share_group.share_server_id %}
{% trans "Share server" %}
{% url 'horizon:admin:share_servers:share_server_detail' share_group.share_server_id as share_server_url%}
{{ share_group.share_server_id }}
{% endif %} {% if share_group.share_group_type %}
{% trans "Share Group Type" %}
{% url 'horizon:admin:share_group_types:index' as sgts_url %}
{% trans "Share Group Type Name:" %} {{ share_group.share_group_type.name }}
{% trans "Share Group Type ID:" %} {{ share_group.share_group_type.id }}
{% trans "Share Group Type Specs:" %} {{ share_group.share_group_type.group_specs }}

{% endif %} {% if share_group.share_types %}
{% trans "Share Types" %}
{% for st in share_group.share_types %}
{% trans "Share Type Name:" %} {{ st.name }}
{% trans " Share Type Visibility:" %} {% if st.is_public %}Public{% else %}Private{% endif %}
{% trans "Network handling enabled:" %} {{ st.dhss }}

{% endfor %} {% endif %} {% if share_group.members %}
{% trans "Shares" %}
{% for m in share_group.members %} {% url 'horizon:admin:shares:detail' m.id as share_url%}
{% if m.name %}{{ m.name }}{% else %}{{ m.id }}{% endif %}
{% endfor %} {% endif %}