diff options
author | Cyril <jv.cyril@gmail.com> | 2012-11-28 17:08:25 +0100 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-11-28 18:04:28 +0100 |
commit | e0a9ffcdaa0bef73caee5a502cabe1b4d8767f1b (patch) | |
tree | ca190de9617b58041115079a91db674174bd8b78 /app/views/layouts/admin.html.haml | |
parent | 3d242a3154644bb1fea1b70d2661cee4f3db342c (diff) | |
download | gitlab-ce-e0a9ffcdaa0bef73caee5a502cabe1b4d8767f1b.tar.gz |
Improve admin views for project and groups
* layout: add 'Groups' item to main_menu
* admin/dashboard: add a ui-box for groups
* projects and groups: remove nav tabs
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r-- | app/views/layouts/admin.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index 582f86ba32c..5069a00204d 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -8,8 +8,10 @@ %ul.main_menu = nav_link(controller: :dashboard, html_options: {class: 'home'}) do = link_to "Stats", admin_root_path - = nav_link(controller: [:projects, :groups]) do + = nav_link(controller: :projects) do = link_to "Projects", admin_projects_path + = nav_link(controller: :groups) do + = link_to "Groups", admin_groups_path = nav_link(controller: :users) do = link_to "Users", admin_users_path = nav_link(controller: :logs) do |