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
This commit is contained in:
Cyril 2012-11-28 17:08:25 +01:00
parent 3d242a3154
commit e0a9ffcdaa
10 changed files with 38 additions and 33 deletions

View file

@ -12,6 +12,11 @@ Feature: Admin active tab
Then the active main tab should be Projects
And no other main tabs should be active
Scenario: On Admin Groups
Given I visit admin groups page
Then the active main tab should be Groups
And no other main tabs should be active
Scenario: On Admin Users
Given I visit admin users page
Then the active main tab should be Users

View file

@ -11,6 +11,10 @@ class AdminActiveTab < Spinach::FeatureSteps
ensure_active_main_tab('Projects')
end
Then 'the active main tab should be Groups' do
ensure_active_main_tab('Groups')
end
Then 'the active main tab should be Users' do
ensure_active_main_tab('Users')
end