mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Reorganized treeview code for AdminPage treeview.
This commit is contained in:
parent
fc90259032
commit
5ec87f911b
4 changed files with 26 additions and 21 deletions
|
@ -1,3 +1,5 @@
|
|||
{% import "components/tree_macros.html.twig" as tree %}
|
||||
|
||||
{% extends "main_card.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
|
@ -23,7 +25,7 @@
|
|||
|
||||
<div class="col-sm-4">
|
||||
<turbo-frame id="admin-tree-frame" target="admin-content-frame" data-turbo-action="advance">
|
||||
{% include "elements/_tree_view.html.twig" %}
|
||||
{{ tree.treeview(entity) }}
|
||||
</turbo-frame>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue