diff --git a/config/alfresco/messages/webclient.properties b/config/alfresco/messages/webclient.properties index 41ae00acf3..55a154277c 100644 --- a/config/alfresco/messages/webclient.properties +++ b/config/alfresco/messages/webclient.properties @@ -1289,7 +1289,7 @@ user_organization=Organization user_jobtitle=Job Title user_location=Location user_description=Biography -user_avatar=Photo +user_avatar=Avatar # Trashcan messages title_deleted_items=Deleted Items @@ -1426,6 +1426,8 @@ title_edit_user_details=Edit User Details user_console=User Profile user_console_info=User Profile and Settings user_console_description=Use this page to change your visible profile, preferences and application settings +user_profile=User Profile +user_profile_for=Profile for user ''{0}'' my_details=My Details general_pref=General Preferences change_my_password_description=Use this view to change your password diff --git a/config/alfresco/web-client-config-dialogs.xml b/config/alfresco/web-client-config-dialogs.xml index 1f7cc95320..f090fb4f26 100644 --- a/config/alfresco/web-client-config-dialogs.xml +++ b/config/alfresco/web-client-config-dialogs.xml @@ -438,6 +438,10 @@ icon="/images/icons/user_console_large.gif" title-id="user_console_info" description-id="user_console_description" show-ok-button="false"/> + + diff --git a/source/java/org/alfresco/web/bean/users/UserConsoleDialog.java b/source/java/org/alfresco/web/bean/users/UserConsoleDialog.java index f6ff1c62ea..a1469bfa25 100644 --- a/source/java/org/alfresco/web/bean/users/UserConsoleDialog.java +++ b/source/java/org/alfresco/web/bean/users/UserConsoleDialog.java @@ -31,8 +31,7 @@ import org.alfresco.web.bean.dialog.BaseDialogBean; public class UserConsoleDialog extends BaseDialogBean { - - private static final String BUTTON_CLOSE = "close"; + private static final String MSG_CLOSE = "close"; @Override protected String finishImpl(FacesContext context, String outcome) throws Exception @@ -43,7 +42,7 @@ public class UserConsoleDialog extends BaseDialogBean @Override public String getCancelButtonLabel() { - return Application.getMessage(FacesContext.getCurrentInstance(), BUTTON_CLOSE); + return Application.getMessage(FacesContext.getCurrentInstance(), MSG_CLOSE); } @Override diff --git a/source/java/org/alfresco/web/bean/users/UserMembersBean.java b/source/java/org/alfresco/web/bean/users/UserMembersBean.java index 05512b34c3..8bec66076a 100644 --- a/source/java/org/alfresco/web/bean/users/UserMembersBean.java +++ b/source/java/org/alfresco/web/bean/users/UserMembersBean.java @@ -346,6 +346,7 @@ public abstract class UserMembersBean implements IContextListener props.put("fullName", ((String)props.get("firstName")) + ' ' + ((String)props.get("lastName"))); props.put("roles", roleListToString(context, permissionMap.get(authority))); props.put("icon", WebResources.IMAGE_PERSON); + props.put("isGroup", Boolean.FALSE); personNodes.add(node); } @@ -366,6 +367,7 @@ public abstract class UserMembersBean implements IContextListener node.put("id", authority); node.put("roles", roleListToString(context, permissionMap.get(authority))); node.put("icon", WebResources.IMAGE_GROUP); + node.put("isGroup", Boolean.TRUE); personNodes.add(node); } } diff --git a/source/web/WEB-INF/faces-config-beans.xml b/source/web/WEB-INF/faces-config-beans.xml index 7299bbad16..25cbab1f32 100644 --- a/source/web/WEB-INF/faces-config-beans.xml +++ b/source/web/WEB-INF/faces-config-beans.xml @@ -4989,7 +4989,7 @@ - The bean for Change Users Password Screen. + The bean for Users Profile and Settings screen. UserConsoleDialog org.alfresco.web.bean.users.UserConsoleDialog @@ -4997,6 +4997,19 @@ session + + The bean for a User Profile. + UserProfileDialog + + org.alfresco.web.bean.users.UserProfileDialog + + session + + properties + #{UsersBeanProperties} + + + The bean for the Recovery Report Screen. TrashcanRecoveryReportDialog diff --git a/source/web/jsp/roles/manage-content-users.jsp b/source/web/jsp/roles/manage-content-users.jsp index f16d0f64fa..3f834a1527 100644 --- a/source/web/jsp/roles/manage-content-users.jsp +++ b/source/web/jsp/roles/manage-content-users.jsp @@ -136,7 +136,10 @@ - + + + + <%-- Username column --%> diff --git a/source/web/jsp/roles/manage-invited-users.jsp b/source/web/jsp/roles/manage-invited-users.jsp index 961b1b9140..6dc21fa952 100644 --- a/source/web/jsp/roles/manage-invited-users.jsp +++ b/source/web/jsp/roles/manage-invited-users.jsp @@ -136,7 +136,10 @@ - + + + + <%-- Username column --%> diff --git a/source/web/jsp/users/user-profile.jsp b/source/web/jsp/users/user-profile.jsp new file mode 100644 index 0000000000..340fd4d4da --- /dev/null +++ b/source/web/jsp/users/user-profile.jsp @@ -0,0 +1,82 @@ +<%-- + * Copyright (C) 2005-2007 Alfresco Software Limited. + + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + * As a special exception to the terms and conditions of version 2.0 of + * the GPL, you may redistribute this Program in connection with Free/Libre + * and Open Source Software ("FLOSS") applications as described in Alfresco's + * FLOSS exception. You should have recieved a copy of the text describing + * the FLOSS exception, and it is also available here: + * http://www.alfresco.com/legal/licensing" +--%> +<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> +<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> +<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> + + + + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + +
+ + +
+ + +
+
+ + + + +
+ +
+ \ No newline at end of file