diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index 3fad16f..18ea1db 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -5,6 +5,9 @@ + + uses + diff --git a/distro/changelog.xml b/distro/changelog.xml index 6b6201a..51f9f6e 100644 --- a/distro/changelog.xml +++ b/distro/changelog.xml @@ -1,10 +1,14 @@ - fixes for changes to the underneath common-notification-library + fixes for changes to the underneath + common-notification-library Minor css fix Refactored to the new version of elastic search client's - compliancy + compliancy + + Feature #7212, do not apologies if no posts are present and + try to engage the user to post something. diff --git a/src/main/java/org/gcube/portlets/user/newsfeed/client/panels/NewsFeedPanel.java b/src/main/java/org/gcube/portlets/user/newsfeed/client/panels/NewsFeedPanel.java index 2a0ab90..c7dcc08 100644 --- a/src/main/java/org/gcube/portlets/user/newsfeed/client/panels/NewsFeedPanel.java +++ b/src/main/java/org/gcube/portlets/user/newsfeed/client/panels/NewsFeedPanel.java @@ -875,11 +875,11 @@ public class NewsFeedPanel extends Composite { if (feeds.size() == 0) { if (!isInfrastructure) { newsPanel.add(new HTML("
" + - "Sorry, looks like nobody shared anything yet.
" + - "You may begin by sharing a news!
")); + "Looks like nobody posted anything yet. Are you willing to be the first?
" + + "You may begin by posting a message!")); } else { newsPanel.add(new HTML("
" + - "Sorry, looks like we've got nothing for you at the moment.
" + + "Looks like we've got nothing for you at the moment.
" + "You may begin by joining some of the available " + "
"+vreLabel+"s.
")); }