wf notifications should be ready

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/notifications@68540 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2013-01-29 18:50:32 +00:00
parent e3bc385ab8
commit 65c4867208
4 changed files with 9 additions and 1 deletions

View File

@ -69,6 +69,9 @@ public class SingleNotificationView extends Composite {
case DOCUMENT_WORKFLOW_STEP_REQUEST_TASK:
goApp.setHTML("<a class=\"link\" href=\""+toShow.getUri()+"\"> See this Document Workflow.</a>");
break;
case DOCUMENT_WORKFLOW_FIRST_STEP_REQUEST_INVOLVMENT:
goApp.setHTML("<a class=\"link\" href=\""+toShow.getUri()+"\"> See this New Document Workflow.</a>");
break;
case DOCUMENT_WORKFLOW_VIEW:
goApp.setHTML("<a class=\"link\" href=\""+toShow.getUri()+"\"> See Users Activity.</a>");
break;
@ -115,6 +118,8 @@ public class SingleNotificationView extends Composite {
return images.documentWorkflow();
case DOCUMENT_WORKFLOW_STEP_REQUEST_TASK:
return images.documentWorkflow();
case DOCUMENT_WORKFLOW_FIRST_STEP_REQUEST_INVOLVMENT:
return images.documentWorkflowNew();
case DOCUMENT_WORKFLOW_USER_FORWARD_TO_OWNER:
return images.workflowForward();
case DOCUMENT_WORKFLOW_STEP_FORWARD_PEER:

View File

@ -28,6 +28,9 @@ public interface NotificationImages extends ClientBundle {
@Source("document-workflow.png")
ImageResource documentWorkflow();
@Source("document-workflow-new.jpg")
ImageResource documentWorkflowNew();
@Source("workflow-forward.png")
ImageResource workflowForward();

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -59,7 +59,7 @@ public class NotificationsServiceImpl extends RemoteServiceServlet implements No
String user = (String) this.getThreadLocalRequest().getSession().getAttribute(ScopeHelper.USERNAME_ATTRIBUTE);
if (user == null) {
//user = "test.user";
user = "luca.frosini";
user = "leonardo.candela";
_log.warn("USER IS NULL setting "+user+" and Running OUTSIDE PORTAL");
withinPortal = false;