diff options
author | Adam Young <ayoung@redhat.com> | 2010-11-29 14:26:55 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-12-01 15:21:02 -0500 |
commit | 47d61e6cabc7a9053a7878ea3b8676ad59415f39 (patch) | |
tree | cdad5adb403a04ee7549248bf20bcdc31d017a4f /install/static/sudocmd.js | |
parent | 20b1e0a75ec832d906e7f66d2b306aabdce03901 (diff) | |
download | freeipa-47d61e6cabc7a9053a7878ea3b8676ad59415f39.tar.gz freeipa-47d61e6cabc7a9053a7878ea3b8676ad59415f39.tar.xz freeipa-47d61e6cabc7a9053a7878ea3b8676ad59415f39.zip |
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
Diffstat (limited to 'install/static/sudocmd.js')
-rwxr-xr-x | install/static/sudocmd.js | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/install/static/sudocmd.js b/install/static/sudocmd.js index 0e335627e..3ad71eb52 100755 --- a/install/static/sudocmd.js +++ b/install/static/sudocmd.js @@ -90,25 +90,10 @@ function ipa_sudocmd_search_facet(spec) { that.create = function(container) { - var action_panel = that.get_action_panel(); - - var ul = $('ul', action_panel); - - $('<li/>', { - title: 'sudorule', - text: 'SUDO Rules' - }).prependTo(ul); - - $('<li/>', { - title: 'sudocmdgroup', - text: 'SUDO Command Groups' - }).appendTo(ul); - that.search_facet_create(container); - // TODO: replace with IPA.metadata[that.entity_name].label container.children().last().prepend( - $('<h2/>', { 'html': 'SUDO Commands' })); + $('<h2/>', { 'html': IPA.metadata.sudocmd.label })); container.children().last().prepend('<br/><br/>'); }; |