diff options
author | Adam Young <ayoung@redhat.com> | 2011-04-11 14:49:36 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-04-26 16:49:23 -0400 |
commit | 1b12a282782173ce55e6bd7e1773a3b28686d81a (patch) | |
tree | c2ae570d16b375d92995fc77a187c77d951775da /install/ui/test/navigation_tests.js | |
parent | 6f7984a532057fa173b6a645e5eaf525066edd1a (diff) | |
download | freeipa-1b12a282782173ce55e6bd7e1773a3b28686d81a.tar.gz freeipa-1b12a282782173ce55e6bd7e1773a3b28686d81a.tar.xz freeipa-1b12a282782173ce55e6bd7e1773a3b28686d81a.zip |
action panel to top tabs
replacing the action panel with the Design for 2.1
Significantly cleaned up implementation of intra-entity navigation
requires additional CSS work
still need to integrate the search controls onto each page
cleaning up interface between entity and facet
simplified nested tabs logic
Fixed role navigation
select default tab from the search widget
fixed unit tests and jsl
keep tabs area allocated
set default tab selected whenever the pkey changes.
Removing styling that is changing positions of buttons. The logic for that was for action-panel, but does not translate to entity-header.
change from metadata name to label for I18N
set selected tab in entity_init.
Default title for entities without search and pkeys
associations in table now link.
remove colon from title when not showing pkey
added Managed by facet group.
Removed entities that are, for some reason, invalid.
Diffstat (limited to 'install/ui/test/navigation_tests.js')
-rw-r--r-- | install/ui/test/navigation_tests.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/install/ui/test/navigation_tests.js b/install/ui/test/navigation_tests.js index 7eb14ce40..d87edc64d 100644 --- a/install/ui/test/navigation_tests.js +++ b/install/ui/test/navigation_tests.js @@ -45,7 +45,8 @@ test("Testing IPA.nav.create().", function() { var entity; IPA.entity_factories.user = function() { - var that = IPA.entity({name: 'user'}); + var that = IPA.entity({name: 'user', + metadata:IPA.metadata.objects.user}); that.setup = function(container){ user_mock_called = true; same(container[0].id,'user','user id'); @@ -54,7 +55,8 @@ test("Testing IPA.nav.create().", function() { return that; }; IPA.entity_factories.group = function(){ - var that = IPA.entity({name: 'group'}); + var that = IPA.entity({name: 'group', + metadata:IPA.metadata.objects.group}); that.setup = function(container){ group_mock_called = true; same(container[0].id,'group','group id'); |