fixed avatarReplacement image
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@128907 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1c4e7d6fe0
commit
b131f4cc9d
|
@ -2,8 +2,6 @@ package org.gcube.portlets.user.newsfeed.client.ui;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.gcube.portlets.user.newsfeed.client.panels.NewsFeedPanel;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
package org.gcube.portlets.user.newsfeed.client.ui;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.gcube.portlets.user.newsfeed.client.panels.NewsFeedPanel;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
|
|
|
@ -321,7 +321,7 @@ public class TweetTemplate extends Composite {
|
|||
vreSource.setHTML("<a class=\"link\" style=\"font-size: 10px; white-space: nowrap;\" href=\"/group/"+vreName.toLowerCase()+"\">[" +vreName + "]</a>");
|
||||
}
|
||||
//check if the user has his own avatar
|
||||
if (feed.getThumbnailURL().endsWith("img_id=0") || !feed.getThumbnailURL().contains("?")) { //it means no avatar is set
|
||||
if (feed.getThumbnailURL().contains("img_id=0") || !feed.getThumbnailURL().contains("?")) { //it means no avatar is set
|
||||
avatarImage.setVisible(false);
|
||||
String f = "A";
|
||||
String s = "Z";
|
||||
|
|
Loading…
Reference in New Issue