# HG changeset patch # User Marcin Kuzminski # Date 1280340639 -7200 # Node ID 6725742f029a5530da1d8ae879adabfdc3d5f317 # Parent 3171614c006793f325f03fe52da9057b509478c1 reverted caching from index, it's buggy diff -r 3171614c0067 -r 6725742f029a pylons_app/templates/index.html --- a/pylons_app/templates/index.html Wed Jul 28 02:25:47 2010 +0200 +++ b/pylons_app/templates/index.html Wed Jul 28 20:10:39 2010 +0200 @@ -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: