-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove username and change the subject in emails #1192
Conversation
163d2fe
to
5b88ccb
Compare
exam_name=exam_attempt_obj.proctored_exam.exam_name | ||
) | ||
) | ||
email_subject = 'Proctoring attempt submitted' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This email subject didn't contain the username, is there a reason we shouldn't be using the course name or exam name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have removed the exam name along with username to make it consistent with edx-exams. We already took consensus from UX team to change the subject line.
edx_proctoring/api.py
Outdated
@@ -1767,7 +1764,7 @@ def create_proctoring_attempt_status_email(user_id, exam_attempt_obj, course_nam | |||
course_home_url = get_course_home_url(exam_attempt_obj.proctored_exam.course_id) | |||
|
|||
exam_name = exam_attempt_obj.proctored_exam.exam_name | |||
support_email_subject = _('Proctored exam {exam_name} in {course_name} for user {username}').format( | |||
support_email_subject = _('Proctored exam {exam_name} in {course_name}').format( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this isn't being used in the template, can it just be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we can remove this.
3878259
to
41e52c7
Compare
Description: Remove username and change the subject in emails VAN-1865
41e52c7
to
9d4eb5d
Compare
Description:
Remove username from email templates and change the subject line
JIRA:
VAN-1865