From 867ac1f03d77d72b25037ddf7cacccf407ff531e Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 2 Dec 2010 17:16:34 -0600 Subject: Fixed association links The create_association_facets() has been modified such that it does not generate duplicate links. This is done by assigning the proper labels and hiding non-assignable associations. Each association will get a label based on the attribute used: - memberof: Membership in - member.*: Members - managedby: Managed by The following associations will be hidden: - memberindirect - enrolledby The internal.py was modified to return localized labels. The test data has been updated. --- install/static/host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/static/host.js') diff --git a/install/static/host.js b/install/static/host.js index 4f3a636e..484b6477 100644 --- a/install/static/host.js +++ b/install/static/host.js @@ -60,7 +60,7 @@ function ipa_host() { facet = ipa_host_managedby_host_facet({ 'name': 'managedby_host', - 'label': 'Managed by Hosts', + 'label': IPA.messages.association.managedby+' '+IPA.metadata['host'].label, 'other_entity': 'host' }); that.add_facet(facet); -- cgit