mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-24 07:40:54 +00:00
[PUI] Make breadcrumbs adjustable (#8027)
* adjust breadcrumbs to include current item * Add last breacdrumb to various pages * Add user settings for last breadcrumb * add breacrumbs to company subpages * use getDetailUrl instead * set default * change description * fix styles * fix merge * rename to camelCase --------- Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
src
backend
InvenTree
common
setting
frontend
src
components
pages
Index
Settings
build
company
CompanyDetail.tsxCustomerDetail.tsxManufacturerDetail.tsxManufacturerPartDetail.tsxSupplierDetail.tsxSupplierPartDetail.tsx
part
purchasing
sales
stock
@ -217,6 +217,12 @@ USER_SETTINGS: dict[str, InvenTreeSettingsKeyType] = {
|
||||
'validator': [int, MinValueValidator(0)],
|
||||
'default': 100,
|
||||
},
|
||||
'ENABLE_LAST_BREADCRUMB': {
|
||||
'name': _('Show Last Breadcrumb'),
|
||||
'description': _('Show the current page in breadcrumbs'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
},
|
||||
'NOTIFICATION_ERROR_REPORT': {
|
||||
'name': _('Receive error reports'),
|
||||
'description': _('Receive notifications for system errors'),
|
||||
|
Reference in New Issue
Block a user