{% load i18n sizeformat %} {% block main %}

{% trans "Upgrade Strategy" %}


{% if strategy %}
{% trans "Storage Apply Type" %}
{{ strategy.storage_apply_type }}
{% trans "Worker Apply Type" %}
{{ strategy.worker_apply_type }}
{% if strategy.worker_apply_type == "parallel" %}
{% trans "Maximum Parallel Worker Hosts" %}
{{ strategy.max_parallel_worker_hosts }}
{% endif %}
{% trans "Alarm Restrictions" %}
{{ strategy.alarm_restrictions }}
{% trans "Current Phase" %}
{{ strategy.current_phase }}
{% trans "Current Phase Completion" %}
{{ strategy.current_phase_completion_percentage }}%
{% trans "State" %}
{{ strategy.state }}
{% else %} {% trans "No Strategy has been created" %} {% endif %}

{{ upgradestages_table.render }} {% endblock %}