diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -1131,16 +1131,9 @@ def changed_tooltip(nodes): return ': ' + _('No files') -def repo_link(groups_and_repos, link_class=None): +def repo_breadcrumbs(groups_and_repos, link_class=None): """ - Makes a breadcrumbs link to repo within a group - joins » on each group to create a fancy link - - ex:: - group >> subgroup >> repo - - :param groups_and_repos: - :param last_url: + Makes breadcrumb links to a repo within its groups, like 'group >> subgroup >> repo'. """ groups, just_name, repo_name = groups_and_repos last_url = url('summary_home', repo_name=repo_name) diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html +++ b/kallithea/templates/base/base.html @@ -113,7 +113,7 @@ %else: %endif - ${h.repo_link(c.db_repo.groups_and_repo)} + ${h.repo_breadcrumbs(c.db_repo.groups_and_repo)} %if current == 'createfork': - ${_('Create Fork')} @@ -123,7 +123,7 @@
-->