# HG changeset patch # User Marcin Kuzminski # Date 2019-04-01 11:29:26 # Node ID 5a0e2b843d9629a22cd7c246678bac86ee3b8de6 # Parent 6a6590ee7e8a4df9d167b57eb983c5046fe212fd admin: added admin action area diff --git a/rhodecode/templates/admin/main.mako b/rhodecode/templates/admin/main.mako --- a/rhodecode/templates/admin/main.mako +++ b/rhodecode/templates/admin/main.mako @@ -23,7 +23,37 @@ <%def name="main_content()"> - Hello Admin +

${_('Administration area')}

+ + + + + + + + + + + + + + + + + +
${_('Repositories under administration')}${len(c.auth_user.repositories_admin)} + % if c.can_create_repo: + ${_('Add Repository')} + % endif +
${_('Repository groups under administration')}${len(c.auth_user.repository_groups_admin)} + % if c.can_create_repo_group: + ${_(u'Add Repository Group')} + % endif +
${_('User groups under administration')}${len(c.auth_user.user_groups_admin)} + % if c.can_create_user_group: + ${_(u'Add User Group')} + % endif +
<%def name="main()">