Commit 8e254a6e by Chris Dodge

tweeks to templates

parent e7b91e39
......@@ -533,7 +533,7 @@ def get_student_view(user_id, course_id, content_id,
has_time_expired = now_utc > expires_at
# make sure the attempt has been marked as timed_out, if need be
if has_time_expired and attempt['status'] != ProctoredExamStudentAttemptStatus.timed_out:
if has_time_expired and attempt['status'] == ProctoredExamStudentAttemptStatus.started:
mark_exam_attempt_timeout(exam_id, user_id)
if not has_started_exam:
......@@ -552,7 +552,7 @@ def get_student_view(user_id, course_id, content_id,
})
else:
student_view_template = 'proctoring/seq_timed_exam_entrance.html'
elif has_time_expired:
elif attempt['status'] == ProctoredExamStudentAttemptStatus.timed_out:
student_view_template = 'proctoring/seq_timed_exam_expired.html'
elif attempt['status'] == ProctoredExamStudentAttemptStatus.submitted:
student_view_template = 'proctoring/seq_proctored_exam_submitted.html'
......
......@@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sample Progress Steps edX</title>
<style>
body {
background-color: #FAFAFA;
......
......@@ -18,7 +18,7 @@
</a>
<p>
{% blocktrans %}
You will be guided through installing edX-approved online proctoring software and
You will be guided through installing {{platform_name}} approved online proctoring software and
performing various checks to set up your proctored exam session. Have your photo ID
ready for the photo ID verification step.<br />
Immediately after you complete the set up, you will begin your timed and proctored exam.<br />
......
......@@ -15,7 +15,7 @@
<p>
{% blocktrans %}
In general sessions are reviewed in 24-48 hours of submission. If you have questions about
the status of this review after that timeframe, <a href="#">contact edX support</a>
the status of this review after that timeframe, <a href="#">contact {{platform_name}} support</a>
{% endblocktrans %}
</p>
<hr>
......
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