summaryrefslogtreecommitdiffstats
path: root/install/static/hbacsvcgroup.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-11-29 14:26:55 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2010-12-01 15:21:02 -0500
commit47d61e6cabc7a9053a7878ea3b8676ad59415f39 (patch)
treecdad5adb403a04ee7549248bf20bcdc31d017a4f /install/static/hbacsvcgroup.js
parent20b1e0a75ec832d906e7f66d2b306aabdce03901 (diff)
downloadfreeipa.git-47d61e6cabc7a9053a7878ea3b8676ad59415f39.tar.gz
freeipa.git-47d61e6cabc7a9053a7878ea3b8676ad59415f39.tar.xz
freeipa.git-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/hbacsvcgroup.js')
-rwxr-xr-xinstall/static/hbacsvcgroup.js23
1 files changed, 1 insertions, 22 deletions
diff --git a/install/static/hbacsvcgroup.js b/install/static/hbacsvcgroup.js
index 914c7354..f06fe4f9 100755
--- a/install/static/hbacsvcgroup.js
+++ b/install/static/hbacsvcgroup.js
@@ -102,31 +102,10 @@ function ipa_hbacsvcgroup_search_facet(spec) {
};
that.create = function(container) {
-
- var action_panel = that.get_action_panel();
-
- var ul = $('ul', action_panel);
-
- /*Note that we add these at the top of the action panel
- so that the HBAC entities always show in the same order.*/
- $('<li/>', {
- title: 'hbacsvc',
- text: 'HBAC Services'
- }).prependTo(ul);
-
- $('<li/>', {
- title: 'hbac',
- text: 'HBAC Rules'
- }).prependTo(ul);
-
-
that.search_facet_create(container);
-
- // TODO: replace with IPA.metadata[that.entity_name].label
container.children().last().prepend(
- $('<h2/>', { 'html': 'HBAC Service Groups' }));
+ $('<h2/>', { 'html':IPA.metadata.hbacsvcgroup.label }));
container.children().last().prepend('<br/><br/>');
-
};
that.setup = function(container) {