2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

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!
This commit is contained in:
Oliver Walters
2022-05-06 23:19:21 +10:00
parent 71128a1c8e
commit 0797e9ebf0
7 changed files with 13 additions and 10 deletions

View File

@ -400,8 +400,6 @@
</div>
</div>
{% include "panel/plugin_panels.html" %}
{% endblock %}
{% block js_load %}

View File

@ -57,6 +57,4 @@
{% trans "Attachments" as text %}
{% include "sidebar_item.html" with label="part-attachments" text=text icon="fa-paperclip" %}
{% trans "Notes" as text %}
{% include "sidebar_item.html" with label="part-notes" text=text icon="fa-clipboard" %}
{% include "panel/plugin_menu_items.html" %}
{% include "sidebar_item.html" with label="part-notes" text=text icon="fa-clipboard" %}