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/group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/static/group.js') diff --git a/install/static/group.js b/install/static/group.js index bcac4098..b4446343 100644 --- a/install/static/group.js +++ b/install/static/group.js @@ -64,7 +64,7 @@ function ipa_group() { facet = ipa_group_member_user_facet({ 'name': 'member_user', - 'label': 'Users', + 'label': IPA.metadata['user'].label+' '+IPA.messages.association.members, 'other_entity': 'user' }); that.add_facet(facet); -- cgit