{% load i18n %}{% load operations %}{% if backup.uuid|stringformat:"s" in pending_deletes %}{% trans "Deleting" %}{% elif backup.state == "deleting" %}{% trans "Deleting" %}{% elif backup.state == "ready" and backup.damage %}{% trans "Damaged" %}
{{ backup.damage|words }}
{% elif backup.state == "ready" %}{% trans "Ready" %}{% if backup.verified_at %} {% trans "verified" %}{% endif %}{% elif backup.being_made %}{% trans "Creating" %}{% if backup.operation_id %}{% if user.is_superuser or backup.operation.user_id == user.id %} {% trans "Progress" %}{% endif %}{% endif %}{% elif backup.state == "missing" %}{% trans "Missing" %}{% else %}{% trans "Failed" %}{% if backup.operation_id %}{% if user.is_superuser or backup.operation.user_id == user.id %} {% trans "Why?" %}{% endif %}{% endif %}{% endif %}