fixed missing break in switch
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/notifications@68476 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d6a1138473
commit
c461d4e798
|
@ -68,10 +68,13 @@ public class SingleNotificationView extends Composite {
|
|||
switch (toShow.getType()) {
|
||||
case DOCUMENT_WORKFLOW_STEP_REQUEST_TASK:
|
||||
goApp.setHTML("<a class=\"link\" href=\""+toShow.getUri()+"\"> See this Document Workflow.</a>");
|
||||
break;
|
||||
case DOCUMENT_WORKFLOW_VIEW:
|
||||
goApp.setHTML("<a class=\"link\" href=\""+toShow.getUri()+"\"> See User Activity.</a>");
|
||||
break;
|
||||
case DOCUMENT_WORKFLOW_EDIT:
|
||||
goApp.setHTML("<a class=\"link\" href=\""+toShow.getUri()+"\"> See User Activity.</a>");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,9 +14,6 @@ import org.gcube.portal.databook.server.DBCassandraAstyanaxImpl;
|
|||
import org.gcube.portal.databook.server.DatabookStore;
|
||||
import org.gcube.portal.databook.shared.Notification;
|
||||
import org.gcube.portal.databook.shared.UserInfo;
|
||||
import org.gcube.portal.databook.shared.ex.ColumnNameNotFoundException;
|
||||
import org.gcube.portal.databook.shared.ex.NotificationIDNotFoundException;
|
||||
import org.gcube.portal.databook.shared.ex.NotificationTypeNotFoundException;
|
||||
import org.gcube.portlets.user.notifications.client.NotificationsService;
|
||||
|
||||
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
|
||||
|
|
Loading…
Reference in New Issue