##// END OF EJS Templates
admin: added admin action area
marcink -
r3608:5a0e2b84 new-ui
parent child Browse files
Show More
@@ -23,7 +23,37 b''
23 23 </%def>
24 24
25 25 <%def name="main_content()">
26 Hello Admin
26 <h2>${_('Administration area')}</h2>
27
28 <table class="rctable">
29 <tr>
30 <td>${_('Repositories under administration')}</td>
31 <td class="delegated-admin-repos">${len(c.auth_user.repositories_admin)}</td>
32 <td>
33 % if c.can_create_repo:
34 <a href="${h.route_path('repo_new')}" class="">${_('Add Repository')}</a>
35 % endif
36 </td>
37 </tr>
38 <tr>
39 <td>${_('Repository groups under administration')}</td>
40 <td class="delegated-admin-repo-groups">${len(c.auth_user.repository_groups_admin)}</td>
41 <td>
42 % if c.can_create_repo_group:
43 <a href="${h.route_path('repo_group_new')}" class="">${_(u'Add Repository Group')}</a>
44 % endif
45 </td>
46 </tr>
47 <tr>
48 <td>${_('User groups under administration')}</td>
49 <td class="delegated-admin-user-groups">${len(c.auth_user.user_groups_admin)}</td>
50 <td>
51 % if c.can_create_user_group:
52 <a href="${h.route_path('user_groups_new')}" class="">${_(u'Add User Group')}</a>
53 % endif
54 </td>
55 </tr>
56 </table>
27 57 </%def>
28 58
29 59 <%def name="main()">
General Comments 0
You need to be logged in to leave comments. Login now