Dashboard cards: rebuild deployable dists
This commit is contained in:
@@ -1280,6 +1280,22 @@ class ComputersPlugin(BasePlugin):
|
||||
'link': '/pcs/{computerid}',
|
||||
},
|
||||
},
|
||||
{
|
||||
'id': 'computers-sharedmachines',
|
||||
'title': 'Machine numbers on two PCs',
|
||||
'endpoint': '/api/computers/dashboard/sharedmachines',
|
||||
'render': 'exceptions',
|
||||
'severity': 'critical',
|
||||
'permission': 'computers.view',
|
||||
'empty': 'hide',
|
||||
'position': 15,
|
||||
'map': {
|
||||
'title': 'machinenumber',
|
||||
'detail': 'pcs',
|
||||
'meta': [{'key': 'pccount', 'suffix': ' PCs'}],
|
||||
'link': '/machines/{assetid}',
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
def get_navigation_items(self) -> List[Dict]:
|
||||
|
||||
Reference in New Issue
Block a user