From db11592228ae6cabd4a353d7e3788a3ea0fb4262 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 10 Nov 2010 19:03:49 -0600 Subject: HBAC Service Groups The HBAC Service Groups search, details, and association pages have been added under the HBAC tab. New test data files for HBAC Service Groups have been added. The sample metadata has been updated as well. --- install/static/hbacsvc.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'install/static/hbacsvc.js') diff --git a/install/static/hbacsvc.js b/install/static/hbacsvc.js index 268ce4c5..0d704a0a 100755 --- a/install/static/hbacsvc.js +++ b/install/static/hbacsvc.js @@ -104,6 +104,9 @@ function ipa_hbacsvc_search_facet(spec) { var that = this; + // TODO: replace with IPA.metadata[that.entity_name].label + $('

', { 'html': 'HBAC Services' }).appendTo(container); + var right_buttons = $('', { 'style': 'float: right;' }).appendTo(container); @@ -117,6 +120,17 @@ function ipa_hbacsvc_search_facet(spec) { return false; } })); + + right_buttons.append(ipa_button({ + 'label': 'HBAC Service Groups', + 'click': function() { + var state = {}; + state['entity'] = 'hbacsvcgroup'; + nav_push_state(state); + return false; + } + })); + container.append('

'); that.super_create(container); -- cgit