Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
bc00574b
Commit
bc00574b
authored
Jun 22, 2017
by
Daniel W Bond
Browse files
clarification of why admin feedback email isn't using new email templates
parent
e7a46e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/views.py
View file @
bc00574b
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment