comparison pylons_app/templates/index.html @ 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
comparison
equal deleted inserted replaced
373:3171614c0067 374:6725742f029a
49 <th class="left">${_('Atom')}</th> 49 <th class="left">${_('Atom')}</th>
50 </tr> 50 </tr>
51 </thead> 51 </thead>
52 <tbody> 52 <tbody>
53 %for cnt,repo in enumerate(c.repos_list): 53 %for cnt,repo in enumerate(c.repos_list):
54 %if repo['name'] in c.repo_switcher_list: 54 %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'):
55 <tr class="parity${cnt%2}"> 55 <tr class="parity${cnt%2}">
56 <td> 56 <td>
57 %if repo['repo'].dbrepo.private: 57 %if repo['repo'].dbrepo.private:
58 <img alt="${_('private')}" src="/images/icons/lock.png"/> 58 <img alt="${_('private')}" src="/images/icons/lock.png"/>
59 %else: 59 %else: