revise email template
@@ -1856,11 +1856,18 @@ def _send_email_on_metadata_acceptance(request, shortkey):
"""
resource = get_resource_by_shortkey(shortkey)
- email_msg = f'Dear Resource Owner, '\
- '<p>The following resource that you submitted: '\
- f'<a href="{ request.scheme }://{ request.get_host() }/resource/{ resource.short_id }">'\
- f'{ request.scheme }://{ request.get_host() }/resource/{ resource.short_id }</a> '\
- '''has been reviewed and determined to meet HydroShare's minimum metadata standards.
+ email_msg = f"""Dear Resource Owners,
+ <p>Your publication request for the following resource has been accepted:</p>
+ <p><a href="{ request.scheme }://{ request.get_host }/resource/{ resource.short_id }">{ request.scheme }://{ request.get_host }/resource/{ resource.short_id }</a></p>
+
+ <p>Thank you</p>
+ <p>The HydroShare Team</p>
+ """
+ email_msg = f'''Dear Resource Owner,
+ <p>The following resource that you submitted:
+ <a href="{ request.scheme }://{ request.get_host() }/resource/{ resource.short_id }">
+ { request.scheme }://{ request.get_host() }/resource/{ resource.short_id }</a>
+ has been reviewed and determined to meet HydroShare's minimum metadata standards.</p>
<p>A publication request has been submitted to <a href="https://www.crossref.org/">Crossref.org</a>.
These requests typically resolve in less than 24 hours.</p>
