mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00

* improved subscriptions email template * do not send emails without content * fixed coding style violations * removed unnecessary isEmpty check as suggested by reviewer * moved null check on indexableObjects in generateBodyMail * fixed unhandled IOException * fixed typo in bodyCommunities * do not use != to compare strings * fixed improper handling of empty list
19 lines
565 B
Plaintext
19 lines
565 B
Plaintext
## E-mail sent to designated address about updates on subscribed items
|
|
##
|
|
## Parameters: {0} Collections updates
|
|
## {1} Communities updates
|
|
#set($subject = "${config.get('dspace.name')} Subscriptions")
|
|
This email is sent from ${config.get('dspace.name')} based on the chosen subscription preferences.
|
|
|
|
#if( not( "$params[0]" == "" ))
|
|
Community Subscriptions:
|
|
------------------------
|
|
List of changed items : ${params[0]}
|
|
|
|
#end
|
|
#if( not( "$params[1]" == "" ))
|
|
Collection Subscriptions:
|
|
-------------------------
|
|
List of changed items : ${params[1]}
|
|
#end
|