{% extends "panel.html" %} {% load i18n %} {% load inventree_extras %} {% load plugin_extras %} {% block label %}plugin{% endblock label %} {% block heading %} {% trans "Plugin Settings" %} {% endblock heading %} {% block content %}
{% trans "Changing the settings below require you to immediately restart the server. Do not change this while under active usage." %}
{% include "pui_banner.html" with mode='admin' %}
{% include "InvenTree/settings/setting.html" with key="ENABLE_PLUGINS_SCHEDULE" icon="fa-calendar-alt" %} {% include "InvenTree/settings/setting.html" with key="ENABLE_PLUGINS_EVENTS" icon="fa-reply-all" %} {% include "InvenTree/settings/setting.html" with key="ENABLE_PLUGINS_URL" icon="fa-link" %} {% include "InvenTree/settings/setting.html" with key="ENABLE_PLUGINS_NAVIGATION" icon="fa-sitemap" %} {% include "InvenTree/settings/setting.html" with key="ENABLE_PLUGINS_APP" icon="fa-rocket" %} {% include "InvenTree/settings/setting.html" with key="PLUGIN_ON_STARTUP" %}
{% plugins_enabled as plug %} {% plugins_install_disabled as plug_disabled %}

{% trans "Plugins" %}

{% include "spacer.html" %}
{% admin_url user "plugin.pluginconfig" None as url %} {% include "admin_button.html" with url=url %} {% if plug %} {% endif %}
{% if not plug %}
{% trans "External plugins are not enabled for this InvenTree installation" %}
{% endif %}
{% include "filter_list.html" with id="plugins" %}
{% plugin_errors as pl_errors %} {% if pl_errors %}

{% trans "Plugin Error Stack" %}

{% include "spacer.html" %}
{% for stage, errors in pl_errors.items %} {% for error_detail in errors %} {% for name, message in error_detail.items %} {% endfor %} {% endfor %} {% endfor %}
{% trans "Stage" %} {% trans "Name" %} {% trans "Message" %}
{{ stage }} {{ name }} {{ message }}
{% endif %} {% endblock content %}