removed temporarely the Private Message feature
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@122690 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7bc8926e2a
commit
6baa5f1318
|
@ -4,7 +4,13 @@
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<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="/target/generated-sources/gwt"/>
|
||||||
<dependent-module archiveName="image-previewer-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/image-previewer-widget/image-previewer-widget">
|
<dependent-module archiveName="session-checker-0.5.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/session-checker/session-checker">
|
||||||
|
<dependency-type>uses</dependency-type>
|
||||||
|
</dependent-module>
|
||||||
|
<dependent-module archiveName="pickitem-widget-1.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/pickitem-widget/pickitem-widget">
|
||||||
|
<dependency-type>uses</dependency-type>
|
||||||
|
</dependent-module>
|
||||||
|
<dependent-module archiveName="gcube-widgets-1.9.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/gcube-widgets/gcube-widgets">
|
||||||
<dependency-type>uses</dependency-type>
|
<dependency-type>uses</dependency-type>
|
||||||
</dependent-module>
|
</dependent-module>
|
||||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||||
|
|
|
@ -303,7 +303,7 @@ public class TweetTemplate extends Composite {
|
||||||
feedText = feedText.replaceAll("&","&");
|
feedText = feedText.replaceAll("&","&");
|
||||||
|
|
||||||
if (! isAppFeed) {
|
if (! isAppFeed) {
|
||||||
sharePostArea.setHTML("<a>" + NewsFeedPanel.SHARE_FWD_LABEL + "</a>");
|
// sharePostArea.setHTML("<a>" + NewsFeedPanel.SHARE_FWD_LABEL + "</a>");
|
||||||
contentArea.setHTML("<a class=\"link\" href=\""+GCubeSocialNetworking.USER_PROFILE_LINK
|
contentArea.setHTML("<a class=\"link\" href=\""+GCubeSocialNetworking.USER_PROFILE_LINK
|
||||||
+"?"+
|
+"?"+
|
||||||
Encoder.encode(GCubeSocialNetworking.USER_PROFILE_OID)+"="+
|
Encoder.encode(GCubeSocialNetworking.USER_PROFILE_OID)+"="+
|
||||||
|
@ -344,7 +344,7 @@ public class TweetTemplate extends Composite {
|
||||||
closeImage.removeFromParent();
|
closeImage.removeFromParent();
|
||||||
try{
|
try{
|
||||||
String vreName = feed.getVreid().substring(feed.getVreid().lastIndexOf("/")+1);
|
String vreName = feed.getVreid().substring(feed.getVreid().lastIndexOf("/")+1);
|
||||||
sharePostArea.setHTML("<a class=\"link\" style=\"white-space: nowrap;\" href=\""+feed.getUri()+"\"> go App [" +vreName + "]</a>");
|
sharePostArea.setHTML("<a class=\"link\" style=\"white-space: nowrap;\" href=\""+feed.getUri()+"\"> - go App [" +vreName + "] - </a>");
|
||||||
}
|
}
|
||||||
catch (Exception e) {}
|
catch (Exception e) {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
<g:HTML styleName="like" ui:field="likeArea" />
|
<g:HTML styleName="like" ui:field="likeArea" />
|
||||||
</td>
|
</td>
|
||||||
<td align="left" style="vertical-align: top;">
|
<td align="left" style="vertical-align: top;">
|
||||||
<g:Label ui:field="messageSeparator" styleName="tweet-separator">-</g:Label>
|
<g:Label ui:field="messageSeparator" styleName="tweet-separator"></g:Label>
|
||||||
</td>
|
</td>
|
||||||
<td align="left" style="vertical-align: top;">
|
<td align="left" style="vertical-align: top;">
|
||||||
<g:HTML styleName="message" ui:field="sharePostArea" />
|
<g:HTML styleName="message" ui:field="sharePostArea" />
|
||||||
|
|
|
@ -124,7 +124,7 @@ public class NewsServiceImpl extends RemoteServiceServlet implements NewsService
|
||||||
*/
|
*/
|
||||||
public String getDevelopmentUser() {
|
public String getDevelopmentUser() {
|
||||||
String user = NewsConstants.TEST_USER;
|
String user = NewsConstants.TEST_USER;
|
||||||
// user = "costantino.perciante";
|
user = "costantino.perciante";
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue