Skip to content

Commit

Permalink
rename get_sidebar_links
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Mar 15, 2024
1 parent c2ee287 commit bfe8a7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projectroles/templatetags/projectroles_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,4 @@ def get_admin_warning():
def get_sidebar_links(request, project=None):
"""Return sidebar links"""
sidebar_content = AppLinkContent()
return sidebar_content.get_sidebar_links(request, project)
return sidebar_content.get_app_links(request, project)
2 changes: 1 addition & 1 deletion projectroles/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def _allow_project_creation(self):
return False
return True

def get_sidebar_links(self, request, project=None):
def get_app_links(self, request, project=None):
"""Return sidebar links based on the current project and user."""
ret = []
# Add project related links
Expand Down

0 comments on commit bfe8a7a

Please sign in to comment.