Skip to content

Commit

Permalink
[DS-4118] Make new helpdesk phone property optional and give it a bet…
Browse files Browse the repository at this point in the history
…ter name.
  • Loading branch information
mwoodiupui committed Feb 5, 2020
1 parent 3441a0c commit d1d3f4f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dspace/config/dspace.cfg
Expand Up @@ -182,8 +182,8 @@ mail.allowed.referrers = ${dspace.hostname}
mail.message.headers = subject
mail.message.headers = charset

# Helpdesk telephone. Not email, but should be with other contact info.
telephone.helpdesk = +1 555 555 5555
# Helpdesk telephone. Not email, but should be with other contact info. Optional.
#mail.message.helpdesk.telephone = +1 555 555 5555

##### Asset Storage (bitstreams / files) ######
# Moved to config/spring/api/bitstore.xml
Expand Down
8 changes: 7 additions & 1 deletion dspace/config/emails/change_password
Expand Up @@ -5,12 +5,18 @@
## See org.dspace.core.Email for information on the format of this file.
##
#set($subject = 'Change Password Request')
#set($phone = ${config.get('mail.message.helpdesk.telephone')})
To change the password for your DSpace account, please click the link
below:

${params[0]}

If you need assistance with your account, please email
${config.get("mail.helpdesk")} or call us at ${config.get("telephone.helpdesk")}.

${config.get("mail.helpdesk")}
#if( $phone )

or call us at ${phone}.
#end

The DSpace Team
8 changes: 7 additions & 1 deletion dspace/config/emails/register
Expand Up @@ -5,12 +5,18 @@
## See org.dspace.core.Email for information on the format of this file.
##
#set($subject = "${config.get('dspace.name')} Account Registration")
#set($phone = ${config.get('mail.message.helpdesk.telephone')})
To complete registration for a DSpace account, please click the link
below:

${params[0]}

If you need assistance with your account, please email
${config.get("mail.helpdesk")} or call us at ${config.get("telephone.helpdesk")}.

${config.get("mail.helpdesk")}
#if( $phone )

or call us at ${phone}.
#end

The DSpace Team

0 comments on commit d1d3f4f

Please sign in to comment.