Commit 4eeda948 by Andy Armstrong Committed by GitHub

Merge pull request #297 from edx/andya/improve-error-message

Improve the error message when proctoring fails
parents e7599a59 aa04c786
......@@ -1587,6 +1587,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
args=[attempt['id']]
) if attempt else '',
'link_urls': settings.PROCTORING_SETTINGS.get('LINK_URLS', {}),
'tech_support_email': settings.TECH_SUPPORT_EMAIL,
}
......
......@@ -2,20 +2,16 @@
<div class="failure sequence proctored-exam" data-exam-id="{{exam_id}}">
<h3>
{% blocktrans %}
There was a problem with your proctoring session
Error with proctored exam
{% endblocktrans %}
</h3>
<h4>
{% blocktrans %}
Your proctoring session results: <b class="failure"> Unsatisfactory </b>
{% endblocktrans %}
</h4>
<p>
{% blocktrans %}
Your proctoring session ended before you completed this exam, so your proctoring results are incomplete.
You will not be eligible to use this course for academic credit, even if you achieve a passing grade.
A technical error has occurred with your proctored exam. To resolve this problem, contact
<a href="mailto:{{tech_support_email}}">technical support</a>. All exam data, including answers
for completed problems, has been lost. When the problem is resolved you will need to restart
the exam and complete all problems again.
{% endblocktrans %}
</p>
<hr>
......
......@@ -126,7 +126,7 @@ class ProctoredExamApiTests(LoggedInTestCase):
self.timed_exam_expired = 'The time allotted for this exam has expired.'
self.submitted_timed_exam_msg_with_due_date = 'After the due date has passed,'
self.exam_time_expired_msg = 'You did not complete the exam in the allotted time'
self.exam_time_error_msg = 'There was a problem with your proctoring session'
self.exam_time_error_msg = 'A technical error has occurred with your proctored exam'
self.chose_proctored_exam_msg = 'Follow these steps to set up and start your proctored exam'
self.proctored_exam_optout_msg = 'Take this exam as an open exam instead'
self.proctored_exam_completed_msg = 'Are you sure you want to end your proctored exam'
......
......@@ -93,3 +93,4 @@ PROCTORING_SETTINGS = {
DEFAULT_FROM_EMAIL = 'no-reply@example.com'
CONTACT_EMAIL = 'info@edx.org'
TECH_SUPPORT_EMAIL = 'technical@example.com'
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