{% load i18n %} {% load vm_states %}
{% vm_state instance.status as state %}

{% trans "Destroy" %} ยท {{ state.0 }}

{% if instance.protected %}

{% trans "This VM is protected: an administrator turns its protection off on the Settings tab first." %}

{% elif can_delete %} {% trans "Review destruction" %}

{% trans "The next page shows what goes and lets you keep the disk files." %}

{% else %}

{% trans "Only the owners allowed to delete this VM and administrators can destroy it." %}

{% endif %}