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 .
|
* @return .
|
||||||
*/
|
*/
|
||||||
private String getApplicationUrl() {
|
private String getApplicationUrl() {
|
||||||
if (applicationProfile != null && applicationProfile.getUrl() != null)
|
if (applicationProfile != null && applicationProfile.getUrl() != null) {
|
||||||
return applicationProfile.getUrl();
|
_log.trace("getApplicationUrl="+applicationProfile.getUrl());
|
||||||
else return "";
|
return applicationProfile.getUrl();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
_log.warn("applicationProfile NULL or url is empty");
|
||||||
|
return "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
|
|
@ -249,6 +249,15 @@ public class EmailPlugin {
|
||||||
case DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER:
|
case DOCUMENT_WORKFLOW_FORWARD_STEP_COMPLETED_OWNER:
|
||||||
actionLink.append("\">.").append(" Go to Document Workflow Manager").append("</a>");
|
actionLink.append("\">.").append(" Go to Document Workflow Manager").append("</a>");
|
||||||
break;
|
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:
|
default:
|
||||||
actionLink.append("\">.").append("").append("</a>");
|
actionLink.append("\">.").append("").append("</a>");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue