{% extends 'base.html' %} {% load helpers %} {% load static %} {% block header %}
{% if perms.extras.change_configcontext %} Edit this config context {% endif %}

{% block title %}{{ configcontext }}{% endblock %}

{% endblock %} {% block content %}
Config Context
Name {{ configcontext.name }}
Weight {{ configcontext.weight }}
Description {{ configcontext.description|placeholder }}
Active {% if configcontext.is_active %} {% else %} {% endif %}
Assignment
Regions {% if configcontext.regions.all %}
    {% for region in configcontext.regions.all %}
  • {{ region }}
  • {% endfor %}
{% else %} None {% endif %}
Sites {% if configcontext.sites.all %}
    {% for site in configcontext.sites.all %}
  • {{ site }}
  • {% endfor %}
{% else %} None {% endif %}
Roles {% if configcontext.roles.all %}
    {% for role in configcontext.roles.all %}
  • {{ role }}
  • {% endfor %}
{% else %} None {% endif %}
Platforms {% if configcontext.platforms.all %}
    {% for platform in configcontext.platforms.all %}
  • {{ platform }}
  • {% endfor %}
{% else %} None {% endif %}
Cluster Groups {% if configcontext.cluster_groups.all %} {% else %} None {% endif %}
Clusters {% if configcontext.clusters.all %}
    {% for cluster in configcontext.clusters.all %}
  • {{ cluster }}
  • {% endfor %}
{% else %} None {% endif %}
Tenant Groups {% if configcontext.tenant_groups.all %}
    {% for tenant_group in configcontext.tenant_groups.all %}
  • {{ tenant_group }}
  • {% endfor %}
{% else %} None {% endif %}
Tenants {% if configcontext.tenants.all %}
    {% for tenant in configcontext.tenants.all %}
  • {{ tenant }}
  • {% endfor %}
{% else %} None {% endif %}
Tags {% if configcontext.tags.all %}
    {% for tag in configcontext.tags.all %}
  • {{ tag }}
  • {% endfor %}
{% else %} None {% endif %}
Data {% include 'extras/inc/configcontext_format.html' %}
{% include 'extras/inc/configcontext_data.html' with data=configcontext.data format=format %}
{% endblock %}