# HG changeset patch # User Marcin Kuzminski # Date 2010-07-28 18:10:39 # Node ID 6725742f029a5530da1d8ae879adabfdc3d5f317 # Parent 3171614c006793f325f03fe52da9057b509478c1 reverted caching from index, it's buggy 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 @@ -51,7 +51,7 @@ %for cnt,repo in enumerate(c.repos_list): - %if repo['name'] in c.repo_switcher_list: + %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'): %if repo['repo'].dbrepo.private: