changeset 374:6725742f029a

reverted caching from index, it's buggy
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 28 Jul 2010 20:10:39 +0200
parents 3171614c0067
children 3e55d9981c0e
files pylons_app/templates/index.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
             </thead>
                         <tbody>
 					    %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'):
 					        <tr class="parity${cnt%2}">
 					            <td>
 					             %if repo['repo'].dbrepo.private: