2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 03:30:54 +00:00

Toggle full name display of users (#5927)

* Add option to display full names instead of usernames

* InvenTree Setting added to allow for admins to choose full names
  over usernames for display in the web GUI

* Fix FA icon for settings page

* Remove debug print
This commit is contained in:
Lavissa
2023-11-16 03:18:01 +01:00
committed by GitHub
parent 0b168c1d9a
commit e2b29cbd95
3 changed files with 32 additions and 2 deletions

View File

@ -1874,6 +1874,12 @@ class InvenTreeSetting(BaseInvenTreeSetting):
]
},
'DISPLAY_FULL_NAMES': {
'name': _('Display Users full names'),
'description': _('Display Users full names instead of usernames'),
'default': False,
'validator': bool
}
}
typ = 'inventree'