added Go To Calendar in email notificaiton
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@92532 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e16de78048
commit
c6bc5e1bef
|
@ -94,9 +94,14 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen
|
|||
* @return .
|
||||
*/
|
||||
private String getApplicationUrl() {
|
||||
if (applicationProfile != null && applicationProfile.getUrl() != null)
|
||||
return applicationProfile.getUrl();
|
||||
else return "";
|
||||
if (applicationProfile != null && applicationProfile.getUrl() != null) {
|
||||
_log.trace("getApplicationUrl="+applicationProfile.getUrl());
|
||||
return applicationProfile.getUrl();
|
||||
}
|
||||
else {
|
||||
_log.warn("applicationProfile NULL or url is empty");
|
||||
return "";
|
||||
}
|
||||
}
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
|
@ -249,6 +249,15 @@ public class EmailPlugin {
|
|||
case DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER:
|
||||
actionLink.append("\">.").append(" Go to Document Workflow Manager").append("</a>");
|
||||
break;
|
||||
case CALENDAR_ADDED_EVENT:
|
||||
actionLink.append("\">.").append(" Go to Calendar").append("</a>");
|
||||
break;
|
||||
case CALENDAR_UPDATED_EVENT:
|
||||
actionLink.append("\">.").append(" Go to Calendar").append("</a>");
|
||||
break;
|
||||
case CALENDAR_DELETED_EVENT:
|
||||
actionLink.append("\">.").append(" Go to Calendar").append("</a>");
|
||||
break;
|
||||
default:
|
||||
actionLink.append("\">.").append("").append("</a>");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue