modified url for current user
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/vre-members@130785 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c6c59e1105
commit
6526ea969b
|
@ -176,9 +176,7 @@ public class MembersServiceImpl extends RemoteServiceServlet implements MembersS
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getUserProfileLink(String username) {
|
private String getUserProfileLink(String username) {
|
||||||
return (username.compareTo(getASLSession().getUsername()) != 0) ?
|
return "profile?"+ new String(Base64.encodeBase64(GCubeSocialNetworking.USER_PROFILE_OID.getBytes()))+"="+new String(Base64.encodeBase64(username.getBytes()));
|
||||||
"profile?"+ new String(Base64.encodeBase64(GCubeSocialNetworking.USER_PROFILE_OID.getBytes()))+"="+new String(Base64.encodeBase64(username.getBytes()))
|
|
||||||
: GCubePortalConstants.USER_PROFILE_FRIENDLY_URL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private ArrayList<BelongingUser> getTestUsers() {
|
private ArrayList<BelongingUser> getTestUsers() {
|
||||||
|
|
Loading…
Reference in New Issue