diff pylons_app/templates/admin/repos/repos.html @ 299:d303aacb3349

repos crud controllers - change id into repo_name for compatability, added ajax repo perm user function variuos html fixes, permissions forms and managment fixes. Added permission fetching for each request in AuthUser instance
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 28 Jun 2010 13:54:47 +0200
parents d982ed8e32d8
children 9c390ca19deb
line wrap: on
line diff
--- a/pylons_app/templates/admin/repos/repos.html	Sat Jun 26 18:42:13 2010 +0200
+++ b/pylons_app/templates/admin/repos/repos.html	Mon Jun 28 13:54:47 2010 +0200
@@ -24,10 +24,10 @@
         </tr>
 	        %for cnt,repo in enumerate(c.repos_list):
 	 		<tr class="parity${cnt%2}">
-			    <td>${h.link_to(repo['name'],h.url('edit_repo',id=repo['name']))}</td>
+			    <td>${h.link_to(repo['name'],h.url('edit_repo',repo_name=repo['name']))}</td>
 		        <td>r${repo['rev']}:${repo['tip']}</td>
                 <td>
-                  ${h.form(url('repo', id=repo['name']),method='delete')}
+                  ${h.form(url('repo', repo_name=repo['name']),method='delete')}
                   	${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
                   ${h.end_form()}
      			</td>