diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index 7072bc86d4..2e8678b600 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -762,10 +762,10 @@ class InvenTreeUserSetting(BaseInvenTreeSetting): """ GLOBAL_SETTINGS = { - 'PART_ASSEMBLY': { - 'name': _('Assembly'), - 'description': _('Parts can be assembled from other components by default'), - 'default': False, + 'HOMEPAGE_PART_STARRED': { + 'name': _('Show starred parts'), + 'description': _('Show starred parts on the homepage'), + 'default': True, 'validator': bool, }, } diff --git a/InvenTree/templates/InvenTree/settings/appearance.html b/InvenTree/templates/InvenTree/settings/appearance.html index 8cd7a8d2db..6f4f406c62 100644 --- a/InvenTree/templates/InvenTree/settings/appearance.html +++ b/InvenTree/templates/InvenTree/settings/appearance.html @@ -63,5 +63,13 @@ +

{% trans "User Settings" %}

+ + + {% include "InvenTree/settings/header.html" %} + + {% include "InvenTree/settings/setting.html" with key="HOMEPAGE_PART_STARRED" user_setting=True %} + +
{% endblock %}