Added simple info page for projects

This commit is contained in:
Jan Böhmer 2022-12-18 21:58:21 +01:00
parent 855b3070bb
commit d5b1c6be0a
12 changed files with 647 additions and 76 deletions

View file

@ -322,6 +322,8 @@ class EntityURLGenerator
public function listPartsURL(AbstractDBElement $entity): string
{
$map = [
Project::class => 'project_info',
Category::class => 'part_list_category',
Footprint::class => 'part_list_footprint',
Manufacturer::class => 'part_list_manufacturer',

View file

@ -110,7 +110,7 @@ class TreeViewGenerator
}
if ($mode === 'devices') {
$href_type = '';
$href_type = 'list_parts';
}
$generic = $this->getGenericTree($class, $parent);