Added the IC logos tools from the old Part-DB version

This commit is contained in:
Jan Böhmer 2023-01-12 00:14:31 +01:00
parent d734df4bd3
commit 769850cec6
7 changed files with 466 additions and 2 deletions

View file

@ -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;
}