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:
parent
4b17a79b48
commit
7bc8926e2a
|
@ -220,6 +220,7 @@ public class TweetTemplate extends Composite {
|
||||||
EnhancedImage enhancedImage = new EnhancedImage(
|
EnhancedImage enhancedImage = new EnhancedImage(
|
||||||
new com.github.gwtbootstrap.client.ui.Image(
|
new com.github.gwtbootstrap.client.ui.Image(
|
||||||
feed.getUri()),
|
feed.getUri()),
|
||||||
|
feed.getLinkTitle() +
|
||||||
" (" + feed.getLinkDescription() + ", type:" + feed.getLinkHost() +")",
|
" (" + feed.getLinkDescription() + ", type:" + feed.getLinkHost() +")",
|
||||||
feed.getLinkTitle(),
|
feed.getLinkTitle(),
|
||||||
feed.getUri()
|
feed.getUri()
|
||||||
|
@ -690,7 +691,7 @@ public class TweetTemplate extends Composite {
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
try{
|
try{
|
||||||
|
|
||||||
ret = Integer.parseInt(likesNo.getHTML());
|
ret = Integer.parseInt(likesNo.getHTML());
|
||||||
|
|
||||||
}catch(NumberFormatException e){
|
}catch(NumberFormatException e){
|
||||||
|
|
Loading…
Reference in New Issue