mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Added a basic admin page for categories.
This commit is contained in:
parent
220d600cca
commit
424407f253
6 changed files with 319 additions and 102 deletions
|
@ -61,6 +61,10 @@ class ToolsTreeBuilder
|
|||
$nodes = array();
|
||||
$nodes[] = new TreeViewNode($this->translator->trans('tree.tools.edit.attachment_types'),
|
||||
$this->urlGenerator->generate('attachment_type_new'));
|
||||
$nodes[] = new TreeViewNode($this->translator->trans('tree.tools.edit.categories'),
|
||||
$this->urlGenerator->generate('category_new'));
|
||||
|
||||
|
||||
$nodes[] = new TreeViewNode('Node 2');
|
||||
|
||||
$tree[] = new TreeViewNode($this->translator->trans('tree.tools.edit'), null, $nodes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue