2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 19:20:55 +00:00
Files
InvenTree/InvenTree/templates/plugin/panel_menu.html
Oliver Walters 0797e9ebf0 Simplify the new template rendering
- No extra template code is required for any new page
- All loaded in base.html or page_base.html
- Oh, so clean!
2022-05-06 23:19:21 +10:00

6 lines
223 B
HTML

{% if plugin_panels %}
<!-- Custom sidebar menu items, loaded via plugins -->
{% for panel in plugin_panels %}
{% include "sidebar_item.html" with label=panel.key text=panel.title icon=panel.icon %}
{% endfor %}
{% endif %}