Fix for avatar's title

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/user-statistics@128564 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-05-11 17:58:47 +00:00
parent e589b6079f
commit 4a3f7e352a
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public class StatisticsPanel extends Composite {
else{
userImage.setUrl(information.getUrlAvatar());
if(userid != null)
if(userid != null && !userid.equals(information.getAslSessionUsername()))
userImage.setTitle("User's avatar");
else
userImage.setTitle("Your current avatar");