{% load i18n %}
{% if instance.status == 1 %}

{% trans "This action sends an ACPI shutdown signal to the instance." %}

{% csrf_token %}

{% trans "This action forcibly powers off and start the instance and may cause data corruption." %}

{% csrf_token %}

{% trans "This action forcibly powers off the instance and may cause data corruption." %}

{% csrf_token %}
{% if request.user.is_superuser %}

{% trans "This action suspends the instance." %}

{% csrf_token %}
{% endif %} {% endif %} {% if instance.status == 3 %} {% if request.user.is_superuser %}

{% trans "This action restore the instance after suspend." %}

{% csrf_token %}

{% trans "This action forcibly powers off the instance and may cause data corruption." %}

{% csrf_token %}
{% else %}

{% trans "Administrator blocked your instance." %}

{% csrf_token %}
{% endif %} {% endif %} {% if instance.status == 5 %}

{% trans "Click on Power On button to start this instance." %}

{% csrf_token %} {% if instance.is_template %}

{% trans "Template instance cannot be started." %}

{% else %} {% endif %}
{% endif %}