From b730eb356f4ccb569a060b39f9d529f2fa753588 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 6 Jan 2011 17:14:13 -0500 Subject: facet nesting correctly nest the facet groups change 'parent' to 'member of' for facet group --- install/static/entity.js | 23 ++++++++++++++++++----- install/static/ipa.css | 17 ++++++++++++++++- ipalib/plugins/baseldap.py | 2 +- ipalib/plugins/host.py | 2 +- ipalib/plugins/netgroup.py | 2 +- 5 files changed, 37 insertions(+), 9 deletions(-) diff --git a/install/static/entity.js b/install/static/entity.js index a6f31e84b..7f8d1ec87 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -520,22 +520,35 @@ function ipa_facet_create_action_panel(container) { } var li = facet_groups[facet_group]; var link = build_link(other_facet, other_facet.label) + link.addClass('facet-group-member'); li.after(link ); + /* + If we are on the current facet, we make the text black, non-clickable, + add an icon and make suer the action controls are positioned underneath it. + */ if ( other_facet.name === ipa_current_facet( entity)){ var text = link.text(); link.text(''); link.append($('