mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Finished builtin footprints viewer tool.
This commit is contained in:
parent
f84d1f8a8f
commit
04b660d777
7 changed files with 39 additions and 10 deletions
|
@ -131,6 +131,12 @@ class ToolsTreeBuilder
|
|||
$this->urlGenerator->generate('tools_reel_calculator')
|
||||
))->setIcon('fa-treeview fa-fw fa-solid fa-ruler');
|
||||
}
|
||||
if ($this->security->isGranted('@tools.builtin_footprints_viewer')) {
|
||||
$nodes[] = (new TreeViewNode(
|
||||
$this->translator->trans('tools.builtin_footprints_viewer.title'),
|
||||
$this->urlGenerator->generate('tools_builtin_footprints_viewer')
|
||||
))->setIcon('fa-treeview fa-fw fa-solid fa-images');
|
||||
}
|
||||
|
||||
return $nodes;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue