Commit 8e254a6e by Chris Dodge

tweeks to templates

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