Files
DSpace/dspace/config/emails/subscriptions_content
Sascha Szott 50b47b707c subscription email: do not send email if nothing has changed (#8981)
* 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
2023-11-14 13:36:52 -06:00

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