Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
aa04c786
Commit
aa04c786
authored
Jul 29, 2016
by
Andy Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the error message when proctoring fails
TNL-5082
parent
e7599a59
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
10 deletions
+8
-10
edx_proctoring/api.py
+1
-0
edx_proctoring/templates/proctored_exam/error.html
+5
-9
edx_proctoring/tests/test_api.py
+1
-1
settings.py
+1
-0
No files found.
edx_proctoring/api.py
View file @
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
,
}
...
...
edx_proctoring/templates/proctored_exam/error.html
View file @
aa04c786
...
...
@@ -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>
...
...
edx_proctoring/tests/test_api.py
View file @
aa04c786
...
...
@@ -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'
...
...
settings.py
View file @
aa04c786
...
...
@@ -93,3 +93,4 @@ PROCTORING_SETTINGS = {
DEFAULT_FROM_EMAIL
=
'no-reply@example.com'
CONTACT_EMAIL
=
'info@edx.org'
TECH_SUPPORT_EMAIL
=
'technical@example.com'
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