comparison pylons_app/templates/admin/repos/repos.html @ 220:e6c802a8dede

repo edit
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 25 May 2010 19:31:56 +0200
parents 64e1125fc479
children d982ed8e32d8
comparison
equal deleted inserted replaced
219:64e1125fc479 220:e6c802a8dede
21 <td>${_('last revision')}</td> 21 <td>${_('last revision')}</td>
22 <td>${_('action')}</td> 22 <td>${_('action')}</td>
23 </tr> 23 </tr>
24 %for cnt,repo in enumerate(c.repos_list): 24 %for cnt,repo in enumerate(c.repos_list):
25 <tr class="parity${cnt%2}"> 25 <tr class="parity${cnt%2}">
26 <td>${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']))}</td> 26 <td>${h.link_to(repo['name'],h.url('edit_repo',id=repo['name']))}</td>
27 <td>r${repo['rev']}:${repo['tip']}</td> 27 <td>r${repo['rev']}:${repo['tip']}</td>
28 <td> 28 <td>
29 ${h.form(url('repo', id=repo['name']),method='delete')} 29 ${h.form(url('repo', id=repo['name']),method='delete')}
30 ${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")} 30 ${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
31 ${h.end_form()} 31 ${h.end_form()}