Minor changes in SciProApplication.properties and code cleanup in ControllerImpl.
This commit is contained in:
parent
d70fdee6a5
commit
9fe7bfc5be
src/main/java/se/su/dsv/scipro
@ -1,4 +1,6 @@
|
|||||||
#Web notifications:
|
# Properties used by the NotificationControllerImpl.
|
||||||
|
|
||||||
|
# Web notifications:
|
||||||
conferencePost.webNotification = ${firstName} ${lastName} posted on conference "{0}".
|
conferencePost.webNotification = ${firstName} ${lastName} posted on conference "{0}".
|
||||||
pm.webNotification = ${firstName} ${lastName} wrote a private message to you.
|
pm.webNotification = ${firstName} ${lastName} wrote a private message to you.
|
||||||
comment.webNotification = ${firstName} ${lastName} commented on a post on conference "{0}".
|
comment.webNotification = ${firstName} ${lastName} commented on a post on conference "{0}".
|
||||||
@ -12,7 +14,7 @@ reviewCompletedforRequester.webNotification = Your peer request has now been rev
|
|||||||
reviewCompletedforRequestSupervisor.webNotification = You are getting this message because you are supervisor of "${peerRequest.project.title}". A peer review on this project has been completed and is available for you.
|
reviewCompletedforRequestSupervisor.webNotification = You are getting this message because you are supervisor of "${peerRequest.project.title}". A peer review on this project has been completed and is available for you.
|
||||||
reviewCompletedforReviewSupervisor.webNotification = ${reviewer.user} in project: ${project.title} has performed a peer review.
|
reviewCompletedforReviewSupervisor.webNotification = ${reviewer.user} in project: ${project.title} has performed a peer review.
|
||||||
reviewRated.webNotification = Your review has been rated.
|
reviewRated.webNotification = Your review has been rated.
|
||||||
#Mail notifications
|
# Mail notifications
|
||||||
mailSubject = Notification from SciPro
|
mailSubject = Notification from SciPro
|
||||||
acceptPeerReviewSubject = Your request for peer review has been accepted
|
acceptPeerReviewSubject = Your request for peer review has been accepted
|
||||||
completedReviewSubject = A peer review has been completed
|
completedReviewSubject = A peer review has been completed
|
||||||
|
@ -320,11 +320,6 @@ public class NotificationControllerImpl implements NotificationController {
|
|||||||
supervisorReviewUrl, NotificationPriority.MEDIUM);
|
supervisorReviewUrl, NotificationPriority.MEDIUM);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* TODO Rewrite
|
|
||||||
*
|
|
||||||
* @param review
|
|
||||||
*/
|
|
||||||
public void notifyOfReviewRating(PeerReview review) {
|
public void notifyOfReviewRating(PeerReview review) {
|
||||||
|
|
||||||
String webNotificationMessage = new StringResourceModel("reviewRated.webNotification", null).getString();
|
String webNotificationMessage = new StringResourceModel("reviewRated.webNotification", null).getString();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user