minor fixes

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@134427 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-11-21 11:30:12 +00:00
parent 41914db5a4
commit c2dfd7d9ef
4 changed files with 4 additions and 23 deletions

View File

@ -5,9 +5,6 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="gcube-widgets-2.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/gcube-widgets/gcube-widgets">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
<property name="context-root" value="news-feed"/>
</wb-module>

View File

@ -1,8 +1,7 @@
<ReleaseNotes>
<Changeset component="org.gcube.portlets-user.news-feed.2-2-0"
date="2016-12-02">
<Change>removed asl session
</Change>
<Change>removed asl session</Change>
</Changeset>
<Changeset component="org.gcube.portlets-user.news-feed.2-1-0"
date="2016-10-29">

View File

@ -175,8 +175,7 @@ public class TweetTemplate extends Composite {
ArrayList<EnhancedImage> listOfEnhancedImages;
EnhancedImage enhancedImage = new EnhancedImage(
new com.github.gwtbootstrap.client.ui.Image(
feed.getUri()),
feed.getUri(),
feed.getLinkTitle() +
" (" + feed.getLinkDescription() + ", type:" + feed.getLinkHost() +")",
feed.getLinkTitle(),
@ -231,8 +230,7 @@ public class TweetTemplate extends Composite {
if(firstAttachment.getMimeType().contains("image/")){
EnhancedImage enhancedImage = new EnhancedImage(
new com.github.gwtbootstrap.client.ui.Image(
feed.getUri()),
feed.getUri(),
feed.getLinkTitle() +
" (" + feed.getLinkDescription() + ", type:" + feed.getLinkHost() +")",
feed.getLinkTitle(),
@ -258,8 +256,7 @@ public class TweetTemplate extends Composite {
if(otherAttachment.getMimeType().contains("image/")){
EnhancedImage enhancedImage = new EnhancedImage(
new com.github.gwtbootstrap.client.ui.Image(
otherAttachment.getUri()),
otherAttachment.getUri(),
otherAttachment.getName() +
" (" + otherAttachment.getDescription() + ", type:" + feed.getLinkHost() +")",
otherAttachment.getName(),

View File

@ -1,12 +0,0 @@
log4j.rootLogger=DEBUG, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
# Print the date in ISO 8601 format
log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
# Print only messages of level TRACE or above in the package org.gcube
log4j.logger.org.gcube=TRACE
log4j.logger.org.gcube.application.framework.core.session=INFO
log4j.logger.org.gcube.common.scope.impl.DefaultScopeProvider=ERROR
log4j.logger.com.netflix.astyanax.connectionpool.impl.CountingConnectionPoolMonitor=ERROR