{% set current_endpoint = current_endpoint or url_for(request.endpoint)[1:].split("/")[-1].strip().replace('_', '-') %} {% for plugin in plugins %}
{% if plugin['type'] == "pro" and not is_pro_version %}

You need a valid pro license to use this plugin

{% endif %}
{{ plugin['name'] }} {{ plugin['version'] }}
{% if plugin['page'] %} {% endif %} {% if plugin['type'] == "pro" %} {% endif %}

{{ plugin['description'] }}

{# get number of multiple groups for the plugin #} {% set multList = [] %}
{% for setting, value in plugin["settings"].items() %} {% if setting != "IS_DRAFT" and (current_endpoint == "global-config" and setting not in ["SERVER_NAME", "IS_LOADING"] or current_endpoint == "services" and value['context'] == "multisite") %} {% if value['multiple'] and value['multiple'] not in multList %} {% if multList.append(value['multiple']) %}{% endif %} {% endif %} {% if not value['multiple'] %}
{{ value["label"] }}
{% if value["context"] == "multisite" and current_endpoint == "global-config" %} {% endif %}
{% if value["type"] != "select" and value["type"] != "check" %}
{% if value['type'] == "password" %}
{% endif %}
{% endif %} {% if value["type"] == "select" %}
{% endif %} {% if value["type"] == "check" %}
{% endif %}
{% endif %} {% endif %} {% endfor %}
{% if multList|length > 0 %}
multiple settings
{% endif %} {% for multiple in multList %}
{{ multiple.replace('-', ' ').replace('_', ' ')|upper }}
{% endfor %}
{% endfor %}