Added mime information when showing an image preview
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@122636 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e21b0d9e94
commit
c117731c0d
|
@ -164,7 +164,8 @@ public class TweetTemplate extends Composite {
|
|||
EnhancedImage enhancedImage = new EnhancedImage(
|
||||
new com.github.gwtbootstrap.client.ui.Image(
|
||||
feed.getUri()),
|
||||
feed.getLinkTitle() + " (" + feed.getLinkDescription() + ")",
|
||||
feed.getLinkTitle() +
|
||||
" (" + feed.getLinkDescription() + ", type:" + feed.getLinkHost() +")",
|
||||
feed.getLinkTitle(),
|
||||
feed.getUri()
|
||||
);
|
||||
|
@ -219,7 +220,7 @@ public class TweetTemplate extends Composite {
|
|||
EnhancedImage enhancedImage = new EnhancedImage(
|
||||
new com.github.gwtbootstrap.client.ui.Image(
|
||||
feed.getUri()),
|
||||
feed.getLinkTitle() + " (" + feed.getLinkDescription() + ")",
|
||||
" (" + feed.getLinkDescription() + ", type:" + feed.getLinkHost() +")",
|
||||
feed.getLinkTitle(),
|
||||
feed.getUri()
|
||||
);
|
||||
|
@ -245,7 +246,8 @@ public class TweetTemplate extends Composite {
|
|||
EnhancedImage enhancedImage = new EnhancedImage(
|
||||
new com.github.gwtbootstrap.client.ui.Image(
|
||||
otherAttachment.getUri()),
|
||||
otherAttachment.getName() + " (" + otherAttachment.getDescription() + ")",
|
||||
otherAttachment.getName() +
|
||||
" (" + otherAttachment.getDescription() + ", type:" + feed.getLinkHost() +")",
|
||||
otherAttachment.getName(),
|
||||
otherAttachment.getUri()
|
||||
);
|
||||
|
|
|
@ -124,7 +124,7 @@ public class NewsServiceImpl extends RemoteServiceServlet implements NewsService
|
|||
*/
|
||||
public String getDevelopmentUser() {
|
||||
String user = NewsConstants.TEST_USER;
|
||||
// user = "costantino.perciante";
|
||||
user = "costantino.perciante";
|
||||
return user;
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue