{% load i18n tz %} {% load gui_utils %} {% get_current_timezone as TZ %} {% if bkpdefs %} {% endif %} {% for bd in bkpdefs %}{% with vm=bd.vm disk_id=bd.array_disk_id %} {% endwith %}{% endfor %}
{% trans "Name" %} {% trans "Hostname" %} {% trans "Disk ID" %} {% trans "Type" %} {% trans "Schedule" %} {% trans "Active" %} {% trans "Retention" %} {% trans "Backups" %} {% trans "Description" %}
{{ bd.name }} {{ vm.hostname }}
 {{ vm.dc.alias }}
{{ disk_id }} ({{ bd.disk_size|multiply:1048576|filesizeformat }}) {{ bd.get_type_display }} {{ bd.schedule|local_schedule:TZ }} {{ bd.retention }} {{ bd.backups }} {{ bd.desc|wordwrap:44 }}
{% trans "Total" %}: {{ bkpdefs|length }}