diff --git a/pylons_app/templates/index.html b/pylons_app/templates/index.html --- a/pylons_app/templates/index.html +++ b/pylons_app/templates/index.html @@ -31,6 +31,7 @@ ${_('Atom')} %for cnt,repo in enumerate(c.repos_list): + %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'): ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']))} @@ -48,6 +49,7 @@ + %endif %endfor