Skip to content

LIBTID-2659. Add a "Groups"main menu item#60

Open
aalston6 wants to merge 2 commits intoumd-lib:mainfrom
aalston6:main
Open

LIBTID-2659. Add a "Groups"main menu item#60
aalston6 wants to merge 2 commits intoumd-lib:mainfrom
aalston6:main

Conversation

@aalston6
Copy link
Contributor

def get_navigation_links(request):
return [
{'label': 'Home', 'url': reverse('index')},
{'label': 'Groups', 'url': reverse('list_all_groups')},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the right idea, but it should be added to the existing get_navigation_links function in the src/ipmanager/urls.py file as a key/value pair where the key is the view name and the value is the label:

{
    'list_all_groups': 'Groups',
    # existing link info...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants