{% load i18n %} {% load vm_states %}
{% trans "Only the owners of this instance and administrators can change its power state." %}
{% else %} {# the three states a VM moves between, the current one marked; under each, the action that takes the VM there #} {% vm_state instance.status as state %}{% blocktrans with state=state.0 %}The VM's state: {{ state }}{% endblocktrans %}
{% endif %} {% if "force_off" in power_actions or "powercycle" in power_actions %} {% endif %}