2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Adds user option to enable "sticky header"

This commit is contained in:
Oliver
2021-10-27 16:26:41 +11:00
parent 827ff0f58b
commit abf2093ab9
6 changed files with 41 additions and 4 deletions

View File

@ -1017,7 +1017,14 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
'description': _('Use the escape key to close modal forms'),
'default': False,
'validator': bool,
}
},
'STICKY_HEADER': {
'name': _('Fixed Navbar'),
'description': _('InvenTree navbar position is fixed to the top of the screen'),
'default': False,
'validator': bool,
},
}
class Meta: