{% load i18n tz %} {% load gui_utils %} {% get_current_timezone as TZ %}
{% trans "Name" %} | {% trans "Disk ID" %} | {% trans "Type" %} | {% trans "Schedule" %} | {% trans "Retention" %} | {% trans "Active" %} | {% trans "Description" %} |
---|---|---|---|---|---|---|
{{ bd.name }} {% if can_edit and not bkpdefs.definition %} {% trans "Edit" %} {% endif %} | {{ disk_id }}{% if not bkpdefs.definition %} ({{ bd.disk_size|multiply:1048576|filesizeformat }}){% endif %} | {{ bd.get_type_display }} | {{ bd.schedule|local_schedule:TZ }} | {{ bd.retention }} | {{ bd.desc|wordwrap:44 }} | |
{% trans "Total" %}: {{ bkpdefs|length }} {% if can_edit %} {% endif %} |