Skip to content

Commit

Permalink
Merge pull request #963 from DemocracyLab/856-dismiss-volunteer-updat…
Browse files Browse the repository at this point in the history
…e-email-text

change the message
  • Loading branch information
marlonkeating authored Apr 30, 2023
2 parents c97e3a9 + 17b0422 commit cf765e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions civictechprojects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,8 +985,9 @@ def dismiss_project_volunteer(request, application_id):
email_template = HtmlEmailTemplate()\
.paragraph('The owner of {project_name} has removed you from the project for the following reason:'.format(
project_name=volunteer_relation.project.project_name))\
.paragraph('\"{message}\"'.format(message=message))
email_subject = 'You have been dismissed from {project_name}'.format(
.paragraph('Thank you for contributing to {project_name}. Your volunteer work for the project has ended. \"{message}\"'\
.format(project_name=volunteer_relation.project.project_name, message=message))
email_subject = 'Thank you for your work at {project_name}'.format(
project_name=volunteer_relation.project.project_name)
send_to_project_volunteer(volunteer_relation=volunteer_relation,
subject=email_subject,
Expand Down

0 comments on commit cf765e2

Please sign in to comment.