mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Added an admin page for the user groups.
This commit is contained in:
parent
959e79b9fb
commit
856e20586f
6 changed files with 275 additions and 6 deletions
|
@ -136,12 +136,16 @@ class ToolsTreeBuilder
|
|||
*/
|
||||
protected function getSystemNodes() : array
|
||||
{
|
||||
$edit_nodes = array();
|
||||
$nodes = array();
|
||||
|
||||
$edit_nodes[] = new TreeViewNode($this->translator->trans('tree.tools.system.users'),
|
||||
$nodes[] = new TreeViewNode($this->translator->trans('tree.tools.system.users'),
|
||||
$this->urlGenerator->generate("user_new")
|
||||
);
|
||||
|
||||
return $edit_nodes;
|
||||
$nodes[] = new TreeViewNode($this->translator->trans('tree.tools.system.groups'),
|
||||
$this->urlGenerator->generate('group_new')
|
||||
);
|
||||
|
||||
return $nodes;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue