From 47d61e6cabc7a9053a7878ea3b8676ad59415f39 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 29 Nov 2010 14:26:55 -0500 Subject: action panel sibling added function to get sibling entities from the tab set. remove explicit sibling code from entity pages Modified the Label fields on HBAC and SUDO to make them appear cleaner in the UI --- install/static/hbacsvc.js | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'install/static/hbacsvc.js') diff --git a/install/static/hbacsvc.js b/install/static/hbacsvc.js index c4140272..a0ef75d1 100755 --- a/install/static/hbacsvc.js +++ b/install/static/hbacsvc.js @@ -89,29 +89,9 @@ function ipa_hbacsvc_search_facet(spec) { }; that.create = function(container) { - - var action_panel = that.get_action_panel(); - - var ul = $('ul', action_panel); - - /*Note that we add the rules at the top of the action panel - so that the HBAC entities always show in the same order.*/ - - $('
  • ', { - title: 'hbac', - text: 'HBAC Rules' - }).prependTo(ul); - - $('
  • ', { - title: 'hbacsvcgroup', - text: 'HBAC Service Groups' - }).appendTo(ul); - that.search_facet_create(container); - - // TODO: replace with IPA.metadata[that.entity_name].label container.children().last().prepend( - $('

    ', { 'html': 'HBAC Services' })); + $('

    ', { 'html': IPA.metadata.hbacsvc.label })); container.children().last().prepend('

    '); }; -- cgit