From 21dee0d459c2ce77cbd9a2dded57637f661f13b4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 Sep 2021 02:47:31 +0200 Subject: [PATCH] urls overview in plugin settings --- .../InvenTree/settings/plugin_settings.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/InvenTree/templates/InvenTree/settings/plugin_settings.html b/InvenTree/templates/InvenTree/settings/plugin_settings.html index 5a6dae2cf2..c7fd11d4ea 100644 --- a/InvenTree/templates/InvenTree/settings/plugin_settings.html +++ b/InvenTree/templates/InvenTree/settings/plugin_settings.html @@ -26,6 +26,25 @@

{% trans "URLs" %}

{% define plugin.base_url as base %}

{% blocktrans %}The Base-URL for this plugin is {{ base }}.{% endblocktrans %}

+ + + + + + + + + + + {% for key, entry in plugin.urlpatterns.reverse_dict.items %}{% if key %} + + + + + + {% endif %}{% endfor %} + +
{% trans "Name" %}{% trans "URL" %}
{{key}}{{entry.1}}{% trans 'open' %}
{% endif %} {% endblock %}