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

{% trans "Orchestration Strategy" %}


{% if strategy %}
{% trans "Strategy Type" %}
{{ strategy.strategy_type }}
{% trans "Subcloud Apply Type" %}
{{ strategy.subcloud_apply_type }}
{% trans "Max Parallel Subclouds" %}
{{ strategy.max_parallel_subclouds }}
{% trans "Stop On Failure" %}
{{ strategy.stop_on_failure }}
{% if strategy.extra_args %} {% if strategy.strategy_type == 'patch' %}
{% trans "Upload Only" %}
{{ strategy.extra_args|get_value:"upload-only" }}
{% elif strategy.strategy_type == 'prestage' %}
{% trans "Prestage Software Version" %}
{{ strategy.extra_args|get_value:"prestage-software-version" }}
{% endif %} {% endif %}
{% trans "State" %}
{{ strategy.state }}
{% else %} {% trans "No Strategy has been created" %} {% endif %}

{{ cloudpatchsteps_table.render }} {% endblock %}