mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Added the IC logos tools from the old Part-DB version
This commit is contained in:
parent
d734df4bd3
commit
769850cec6
7 changed files with 466 additions and 2 deletions
|
@ -137,6 +137,12 @@ class ToolsTreeBuilder
|
|||
$this->urlGenerator->generate('tools_builtin_footprints_viewer')
|
||||
))->setIcon('fa-treeview fa-fw fa-solid fa-images');
|
||||
}
|
||||
if ($this->security->isGranted('@tools.ic_logos')) {
|
||||
$nodes[] = (new TreeViewNode(
|
||||
$this->translator->trans('perm.tools.ic_logos'),
|
||||
$this->urlGenerator->generate('tools_ic_logos')
|
||||
))->setIcon('fa-treeview fa-fw fa-solid fa-flag');
|
||||
}
|
||||
|
||||
return $nodes;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue