{% load i18n %} {% if en_dataset %} {% endif %}
{% if mp_list %} {% trans "Active Volumes" %}: {{ mp_list|length }} {% else %} {% trans "There are no active volumes." %} {% endif %}
{% for volname, zvols in zvols.items %} {% for zvol, attrs in zvols.items %} {% endfor %} {% endfor %} {% for m in mp_list %} {% empty %} {% endfor %}
{% trans "Volume" %} {% trans "Path" %} {% trans "Used" %} {% trans "Available" %} {% trans "Size" %} {% trans "Status" %} {% trans "Available actions" %}
{{ volname }} /dev/zvol/{{ zvol }} - - {{ attrs.volsize }} -
{% trans "Destroy ZFS Volume" %}
{{ m.mp_volume.vol_name }} {{ m.mp_path }} {{ m.used_si }} ({{ m.used_pct }}) {{ m.avail_si }} {{ m.total_si }} {{ m.status }} {% if m.mp_ischild %}
{% trans "Destroy Dataset" %}
{% trans "Edit ZFS Options" %}
{% else %}
{% trans "Export Volume" %}
{% if m.mp_volume.vol_fstype == 'ZFS' %}
{% trans "Scrub Volume" %}
{% trans "Edit ZFS Options" %}
{% endif %} {% endif %}
{% trans "Change Permissions" %}
{% if m.mp_volume.vol_fstype == 'ZFS' %}
{% trans "Create Snapshot" %}
{% endif %} {% if not m.mp_ischild %}
{% trans "View Disks" %}
{% if m.mp_volume.vol_fstype == 'ZFS' %}
{% trans "zpool status" %}
{% endif %} {% endif %}
{% trans "No volumes defined" %}