Skip to content

Commit

Permalink
redesign #318: remove "Edit my Profile" personal menu entry
Browse files Browse the repository at this point in the history
  • Loading branch information
saschasommer committed Aug 8, 2024
1 parent 97a1a10 commit 55b913c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions cosinnus/api_frontend/views/navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,16 +912,6 @@ class ProfileView(LanguageMenuItemMixin, APIView):
'badge': None,
'selected': False,
},
{
'id': 'EditProfile',
'label': 'Edit my Profile',
'url': '/profile/edit/',
'is_external': False,
'icon': 'fa-gear',
'image': None,
'badge': None,
'selected': False,
},
{
'id': 'NotificationPreferences',
'label': 'Notification Preferences',
Expand Down Expand Up @@ -1016,7 +1006,6 @@ def get(self, request):
)
profile_menu_items.extend(
[
MenuItem(_('Edit my Profile'), reverse('cosinnus:profile-edit'), 'fa-gear', id='EditProfile'),
MenuItem(
_('Notification Preferences'),
reverse('cosinnus:notifications'),
Expand Down
1 change: 0 additions & 1 deletion cosinnus/tests/view_tests/test_navigation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,6 @@ def test_profile(self):
[
MenuItem('My Profile', '/profile/', 'fa-circle-user', id='Profile'),
MenuItem('Set up my Profile', '/setup/profile/', 'fa-pen', id='SetupProfile'),
MenuItem('Edit my Profile', '/profile/edit/', 'fa-gear', id='EditProfile'),
MenuItem(
'Notification Preferences', '/profile/notifications/', 'fa-envelope', id='NotificationPreferences'
),
Expand Down

0 comments on commit 55b913c

Please sign in to comment.