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. --- ipalib/plugins/internal.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipalib/plugins/internal.py') diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 708d829b..2e5d879b 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -97,6 +97,10 @@ class i18n_messages(Command): "employee":_(" Employee Information"), "misc":_("Misc. Information"), "to_top":_("Back to Top")}, + "association":{ + "managedby":_("Managed by"), + "members":_("Members"), + "membershipin":_("Membership in")}, "ajax":{ "401":_("Your kerberos ticket no longer valid."+ "Please run KInit and then click 'retry'"+ -- cgit