{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_content %} {% if can_edit %}
{% endif %}
{% include "gui/dc/dc_all_toggle.html" %}
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{% trans "Alias (zpool)" %} | {% trans "Node" %} | {% trans "Access" %} | {% trans "Owner" %} | {% trans "Type" %} | {% trans "Size" %} | {% trans "Servers" %} | {% trans "Snapshots" %} | {% trans "Backups" %} | {% trans "Free" %} | {% if all %}{% trans "Datacenters" %} | {% else %}{% trans "Description" %} | {% endif %}
{% if can_edit %}{% if all and ns.pk in dc_storages %} {% if node.hostname in node_zpool %} {{ st.alias }} {% else %} {{ st.alias }} {% endif %} {% else %} {{ st.alias }}{% endif %} {% else %}{{ st.alias }}{% endif %} ({{ ns.zpool }}) | {{ node.hostname }} | {{ st.get_access_display }} | {{ st.owner|truncatechars:16 }} | {{ st.get_type_display }} | {{ ns.size_total|mb_to_gb }} GB | {% if node.is_compute %}{{ ns.size_dc_vms|mb_to_gb }} GB{% endif %} | {% if node.is_compute %}{{ ns.size_dc_snapshots|mb_to_gb }} GB{% endif %} | {% if node.is_backup %}{{ ns.size_dc_backups|mb_to_gb }} GB{% endif %} | {{ ns.size_free|mb_to_gb }} GB | {% if all %}{{ ns.dc.all|dcify }} | {% else %}{{ st.desc|wordwrap:44 }} | {% endif %}
{% trans "Total" %}: {{ storages|length }} {% if can_edit %} {% endif %} |