mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Added an page to view infos about the server (Part-DB, PHP and DB config
This commit is contained in:
parent
78d1dff40f
commit
34fbcec00f
10 changed files with 1287 additions and 1018 deletions
|
@ -291,6 +291,13 @@ class ToolsTreeBuilder
|
|||
))->setIcon('fa-fw fa-treeview fa-solid fa-binoculars');
|
||||
}
|
||||
|
||||
if ($this->security->isGranted('@system.server_infos')) {
|
||||
$nodes[] = (new TreeViewNode(
|
||||
$this->translator->trans('tools.server_infos.title'),
|
||||
$this->urlGenerator->generate('tools_server_infos')
|
||||
))->setIcon('fa-fw fa-treeview fa-solid fa-database');
|
||||
}
|
||||
|
||||
return $nodes;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue