{% load i18n sizeformat %} {% load url from future %}

{% trans "Template Overview" %}

{% trans "Name" %}
{{ template.name }}
{% trans "ID" %}
{{ template.id }}
{% trans "Description" %}
{{ template.description|default:_("None") }}
{% trans "Plugin" %}
{{ template.plugin_name }}
{% trans "Hadoop Version" %}
{{ template.hadoop_version }}
{% trans "Anti-affinity enabled for" %}
{% if template.anti_affinity %}
    {% for process in template.anti_affinity %}
  • {{ process }}
  • {% endfor %}
{% else %}
{% trans "no processes" %}
{% endif %}
{% trans "Node Configurations" %}
{% if template.cluster_configs %}
{% for service, service_conf in template.cluster_configs.items %}

{{ service }}

{% if service_conf %}
    {% for conf_name, conf_value in service_conf.items %}
  • {{ conf_name }}: {{ conf_value }}
  • {% endfor %}
{% else %}
{% trans "No configurations" %}
{% endif %} {% endfor %}
{% else %}
{% trans "Cluster configurations are not specified" %}
{% endif %}