mdm config tags made configurable

This commit is contained in:
Amalka Subasinghe 2021-08-31 13:17:29 +05:30
parent 7dc5d7f45d
commit 5272293a31

View File

@ -37,14 +37,15 @@
<AppRegistration> <AppRegistration>
<Tags> <Tags>
<Tag>application_management</Tag>
<Tag>device_management</Tag>
<Tag>subscription_management</Tag>
<Tag>review_management</Tag>
{% if mdm_ui_conf.app_registration.tags is defined %} {% if mdm_ui_conf.app_registration.tags is defined %}
{%- for tag in mdm_ui_conf.app_registration.tags -%} {%- for tag in mdm_ui_conf.app_registration.tags -%}
<Tag>{{tag}}</Tag> <Tag>{{tag}}</Tag>
{% endfor %} {% endfor %}
{% else %}
<Tag>application_management</Tag>
<Tag>device_management</Tag>
<Tag>subscription_management</Tag>
<Tag>review_management</Tag>
{% endif %} {% endif %}
</Tags> </Tags>
{% if mdm_ui_conf.app_registration.allow_to_all_domains is defined %} {% if mdm_ui_conf.app_registration.allow_to_all_domains is defined %}