diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-12-02 17:16:34 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-12-03 12:57:43 -0500 |
commit | 867ac1f03d77d72b25037ddf7cacccf407ff531e (patch) | |
tree | 8f10115d1a6a0aa2b3e7099223bac2d48dfe12f8 /ipalib | |
parent | 929cd858052f337f5edd2749426e6bf458fa54f4 (diff) | |
download | freeipa-867ac1f03d77d72b25037ddf7cacccf407ff531e.tar.gz freeipa-867ac1f03d77d72b25037ddf7cacccf407ff531e.tar.xz freeipa-867ac1f03d77d72b25037ddf7cacccf407ff531e.zip |
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 <entity name>
- member.*: <entity name> Members
- managedby: Managed by <entity name>
The following associations will be hidden:
- memberindirect
- enrolledby
The internal.py was modified to return localized labels.
The test data has been updated.
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/internal.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 708d829be..2e5d879b0 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'"+ |