diff --git a/pylons_app/templates/base/base.html b/pylons_app/templates/base/base.html --- a/pylons_app/templates/base/base.html +++ b/pylons_app/templates/base/base.html @@ -106,13 +106,17 @@ def is_current(selected):
  • ${h.link_to(_('branches'),h.url('branches_home',repo_name=c.repo_name))}
  • ${h.link_to(_('tags'),h.url('tags_home',repo_name=c.repo_name))}
  • ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name))}
  • -
  • ${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name))}
  • + %if h.HasRepoPermissionAll('repository.admin')(c.repo_name): +
  • ${h.link_to(_('settings'),h.url('edit_repo',repo_name=c.repo_name))}
  • + %endif %else: ##Root menu %endif @@ -129,7 +133,7 @@ def is_current(selected): %endif