{% from 'macros/docs_link.html' import docs_url %} {% set plugins_settings = get_plugins_settings() %}
{% if current_endpoint != "global-config" and current_endpoint != 'global-settings' %}
{% endif %}
{% for template, template_data in templates.items() if template != "ui" %} {% set template_plugin_id = template_data.get('plugin_id') %} {% set plugin_dom_id = template_plugin_id if template_plugin_id else 'ui' %} {% set template_plugin = plugins.get(template_plugin_id) %} {% if template_plugin is none %} {% set template_plugin = {'id': plugin_dom_id, 'type': 'ui', 'name': 'UI'} %} {% endif %} {% endfor %}