1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #15630: Remove server-side color mode preference & simplify toggling

This commit is contained in:
Jeremy Stretch
2024-05-01 17:02:12 -04:00
parent 44a7cd9876
commit 6530051958
8 changed files with 22 additions and 68 deletions

View File

@ -62,7 +62,7 @@ class UserConfigFormMetaclass(forms.models.ModelFormMetaclass):
class UserConfigForm(forms.ModelForm, metaclass=UserConfigFormMetaclass):
fieldsets = (
FieldSet(
'locale.language', 'pagination.per_page', 'pagination.placement', 'ui.colormode', 'ui.htmx_navigation',
'locale.language', 'pagination.per_page', 'pagination.placement', 'ui.htmx_navigation',
name=_('User Interface')
),
FieldSet('data_format', name=_('Miscellaneous')),