mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Added simple info page for projects
This commit is contained in:
parent
855b3070bb
commit
d5b1c6be0a
12 changed files with 647 additions and 76 deletions
|
@ -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',
|
||||
|
|
|
@ -110,7 +110,7 @@ class TreeViewGenerator
|
|||
}
|
||||
|
||||
if ($mode === 'devices') {
|
||||
$href_type = '';
|
||||
$href_type = 'list_parts';
|
||||
}
|
||||
|
||||
$generic = $this->getGenericTree($class, $parent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue