git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@120001 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2015-10-23 15:33:28 +00:00
parent bf808987cb
commit 1e1866c847
3 changed files with 17 additions and 6 deletions

View File

@ -4,6 +4,9 @@
<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="session-checker-0.4.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"> <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> <dependency-type>uses</dependency-type>
</dependent-module> </dependent-module>

View File

@ -1,19 +1,26 @@
<ReleaseNotes> <ReleaseNotes>
<Changeset component="org.gcube.portlets-user.newsfeed.1-11-0" <Changeset component="org.gcube.portlets-user.newsfeed.1-11-0"
date="2015-10-12"> date="2015-10-12">
<Change>Integrated workspace explorer widget and replace light tree</Change> <Change>Integrated workspace explorer widget and replace light tree
</Change>
<Change>Fix for Bug #195, Post dates lack the year
</Change>
</Changeset> </Changeset>
<Changeset component="org.gcube.portlets-user.newsfeed.1-10-0" <Changeset component="org.gcube.portlets-user.newsfeed.1-10-0"
date="2015-07-15"> date="2015-07-15">
<Change>Revised the way we shorten posts' text when this is very long, <Change>Revised the way we shorten posts' text when this is very long,
better heuristic used</Change> better heuristic used
</Change>
<Change>Fixed bug #320, Users tagging does not work if @ is in the <Change>Fixed bug #320, Users tagging does not work if @ is in the
middle of already typed text, works for hashtags too</Change> middle of already typed text, works for hashtags too
</Change>
<Change>Revised mail notification message formatting, user text is now <Change>Revised mail notification message formatting, user text is now
more clear and visible</Change> more clear and visible
</Change>
<Change>Revised the way we provide back links for posts, removed <Change>Revised the way we provide back links for posts, removed
assumption that News Feed is always present the default community assumption that News Feed is always present the default community
page, good for single VRE portals support</Change> page, good for single VRE portals support
</Change>
</Changeset> </Changeset>
<Changeset component="org.gcube.portlets-user.newsfeed.1-9-0" <Changeset component="org.gcube.portlets-user.newsfeed.1-9-0"
date="2015-04-27"> date="2015-04-27">

View File

@ -213,7 +213,8 @@ public class TweetTemplate extends Composite {
try { try {
String formattedTime = DateTimeFormat.getFormat("MMMM dd, h:mm a").format(feed.getTime()); String formattedTime = DateTimeFormat.getFormat("MMMM dd, h:mm a").format(feed.getTime());
timeArea.setHTML(formattedTime); timeArea.setHTML(formattedTime);
String formattedTimeWithYear = DateTimeFormat.getFormat("dd MMMM yyyy h:mm a ").format(feed.getTime());
timeArea.setTitle(formattedTimeWithYear);
if (! feed.getCommentsNo().equals("0")) { if (! feed.getCommentsNo().equals("0")) {
commentsNo.setHTML(feed.getCommentsNo()); commentsNo.setHTML(feed.getCommentsNo());
commentsNo.setStyleName("comments-number"); commentsNo.setStyleName("comments-number");