diff options
Diffstat (limited to 'install/static/hbac.js')
-rwxr-xr-x | install/static/hbac.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js index eb02bf73..6b209dd7 100755 --- a/install/static/hbac.js +++ b/install/static/hbac.js @@ -111,10 +111,9 @@ function ipa_hbac_search_facet(spec) { var that = this; - // TODO: replace with IPA.metadata[that.entity_name].label - $('<h2/>', { 'html': 'HBAC Rules' }).appendTo(container); /* + // Not yet implemented var left_buttons = $('<span/>', { @@ -128,6 +127,7 @@ function ipa_hbac_search_facet(spec) { left_buttons.append(ipa_button({ 'label': 'Cull Disabled Rules' })); + */ var ul = $('.action-panel ul'); @@ -154,6 +154,12 @@ function ipa_hbac_search_facet(spec) { }).appendTo(ul); that.superior_create(container); + + // TODO: replace with IPA.metadata[that.entity_name].label + container.children().last().prepend( + $('<h2/>', { 'html': 'HBAC Rules' })); + container.children().last().prepend('<br/><br/>'); + }; return that; |