Card refinements

This commit is contained in:
2026-08-11 15:58:15 -04:00
parent 793dfab5c8
commit 721828b5cb
9 changed files with 134 additions and 38 deletions

View File

@@ -133,12 +133,13 @@ class WarrantyPlugin(BasePlugin):
'empty': 'hide',
'position': 50,
'map': {
'title': 'assetnumber',
'title': 'hostname',
'detail': 'state',
'meta': [
{'key': 'enddate', 'label': 'ends', 'format': 'date'},
{'key': 'provider'},
],
# The bay, which is how the floor identifies the PC. No
# date: expired or expiring is the whole decision when
# scanning a board, and the exact day belongs on the report
# you order from.
'meta': [{'key': 'machinenumber', 'label': 'machine'}],
'link': '/assets/{assetid}',
},
},