Fix: missing attached file's name when preparing carousel.

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@122659 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-01-29 16:23:35 +00:00
parent 4b17a79b48
commit 7bc8926e2a
1 changed files with 2 additions and 1 deletions

View File

@ -220,6 +220,7 @@ public class TweetTemplate extends Composite {
EnhancedImage enhancedImage = new EnhancedImage(
new com.github.gwtbootstrap.client.ui.Image(
feed.getUri()),
feed.getLinkTitle() +
" (" + feed.getLinkDescription() + ", type:" + feed.getLinkHost() +")",
feed.getLinkTitle(),
feed.getUri()
@ -690,7 +691,7 @@ public class TweetTemplate extends Composite {
int ret = 0;
try{
ret = Integer.parseInt(likesNo.getHTML());
}catch(NumberFormatException e){