Commit bc00574b authored by Daniel W Bond's avatar Daniel W Bond
Browse files

clarification of why admin feedback email isn't using new email templates

parent e7a46e25
......@@ -326,6 +326,7 @@ class DeleteStudent(LoginRequiredMixin, StudentContextMixin, FormView):
student_email = create_email(text_path, html_path, subject, to, context)
# send feedback to the admins if there is feedback to send
# this email to admin does not use the templates used when sending to users
if form.cleaned_data['feedback']:
text_path = 'email/feedback.txt'
html_path = 'email/feedback.html'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment