Add new icons
[gpl/argeo-suite.git] / org.argeo.app.ui / src / org / argeo / app / ui / people / PeopleEntryArea.java
index 09907cb78346553521ee1d2af247ffb6ea607420..8ef935c238b9fb85be1d506901bec3ad0b5f2174 100644 (file)
@@ -109,7 +109,7 @@ public class PeopleEntryArea implements SwtUiProvider, CmsUiProvider {
 
                        @Override
                        public String getText(HierarchyUnit model) {
-                               return model.getHierarchyUnitName();
+                               return model.getHierarchyUnitLabel(CurrentUser.locale());
                        }
 
                        @Override
@@ -177,7 +177,7 @@ public class PeopleEntryArea implements SwtUiProvider, CmsUiProvider {
                                else if (role.isContentClass(LdapObjs.inetOrgPerson.qName()))
                                        return SuiteIcon.person;
                                else if (role.isContentClass(LdapObjs.organization.qName()))
-                                       return SuiteIcon.organisation;
+                                       return SuiteIcon.organisationContact;
                                else if (role.isContentClass(LdapObjs.groupOfNames.qName()))
                                        return SuiteIcon.group;
                                else