{% load i18n %}{% if backup.uuid|stringformat:"s" in pending_deletes %}{% trans "Deleting" %}{% elif backup.state == "deleting" %}{% trans "Deleting" %}{% elif backup.state == "ready" %}{% trans "Ready" %}{% 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 %}