Skip to content

Commit

Permalink
Timed Exams Student-Facing Labels
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoeber committed Oct 8, 2015
1 parent dbbc16f commit f9df9db
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
14 changes: 9 additions & 5 deletions edx_proctoring/templates/timed_exam/entrance.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ <h3>
<p>
{% trans "This exam has a time limit associated with it." %}
<strong>
{% trans "To pass this exam you must complete the problems in the time allowed." %}
{% trans "To pass this exam, you must complete the problems in the time allowed." %}
</strong>
{% trans "As soon as you indicate that you are ready to start the exam, you will have "%} {{total_time|lower}} {% trans " to complete the exam." %}
{% trans "After you select " %}
<strong>
{% trans "I am ready to start this timed exam" %}
</strong>
{% trans ", you will have "%} {{total_time|lower}} {% trans " to complete and submit the exam." %}
</p>
<button class="gated-sequence start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}">
<a>
{% blocktrans %}
I'm ready! Start this timed exam.
I am ready to start this timed exam.
{% endblocktrans %}
<i class="fa fa-arrow-circle-right"></i>
</a>
Expand Down Expand Up @@ -60,8 +64,8 @@ <h3>
var msg = gettext(
"There has been a problem starting your exam.\n\n" +
"Possible reasons are that your account has not been fully activated,\n" +
"you have are experiencing a network connection problem, or there has been\n" +
"a service disruption. Please check these and try again."
"you are experiencing a network connection problem, or there has been\n" +
"a service disruption. Please check these potential problems and try again."
);
alert(msg);
});
Expand Down
4 changes: 2 additions & 2 deletions edx_proctoring/templates/timed_exam/footer.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% load i18n %}
<div class="footer-sequence">
<h4> {% trans "Can I request additional time to complete my exam? " %} </h4>
<h4> {% trans "Can I request additional time to complete my exam?" %} </h4>
<p>{% blocktrans %}
If you have disabilities or are taking the exam in difficult conditions,
you might be eligible for an additional time allowance on timed exams.
Ask your instructor or course staff for information about additional time allowances.
Ask your course team for information about additional time allowances.
{% endblocktrans %}
</p>
</div>
9 changes: 4 additions & 5 deletions edx_proctoring/templates/timed_exam/ready_to_submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@
<div class="sequence timed-exam completed" data-exam-id="{{exam_id}}">
<h3>
{% blocktrans %}
Are you sure you want to end your timed exam?
Are you sure that you want to submit your timed exam?
{% endblocktrans %}
</h3>
<p>
{% blocktrans %}
Make sure your responses and work are ready to be submitted. Once they are, you may end the exam below
and your worked will then be graded.
Make sure your answers are ready to be submitted, and then submit your exam. Your exam will then be graded.
{% endblocktrans %}
</p>
<button type="button" name="submit-proctored-exam" class="exam-action-button btn btn-primary btn-base" data-action="submit" data-exam-id="{{exam_id}}" data-change-state-url="{{change_state_url}}">
{% blocktrans %}
Yes, end my timed exam
Yes, submit my timed exam.
{% endblocktrans %}
</button>
{% if does_time_remain %}
<button type="button" name="goback-proctored-exam" class="exam-action-button btn btn-secondary btn-base" data-action="start" data-exam-id="{{exam_id}}" data-change-state-url="{{change_state_url}}">
{% blocktrans %}
No, I'd like to continue working
No, I want to continue working.
{% endblocktrans %}
</button>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions edx_proctoring/templates/timed_exam/submitted.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="sequence proctored-exam completed" data-exam-id="{{exam_id}}">
<h3>
{% blocktrans %}
You have submitted your timed exam
You have submitted your timed exam.
{% endblocktrans %}
</h3>

Expand All @@ -14,7 +14,7 @@ <h4>
<hr>
<p>
{% blocktrans %}
As you have submitted your exam, you will not be able to re-enter it. Your grades for this timed exam will be immediately available on the <a href="{{progress_page_url}}">Progress</a> page.
Because you have submitted your exam, you can no longer access the exam. Check your <a href="{{progress_page_url}}">Progress</a> page for your grade for this timed exam.
{% endblocktrans %}
</p>
</div>
2 changes: 1 addition & 1 deletion edx_proctoring/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ def test_get_studentview_unstarted_timed_exam_with_allowance(self):
@ddt.data(
(
ProctoredExamStudentAttemptStatus.ready_to_submit,
'Are you sure you want to end your timed exam?'
'Are you sure that you want to submit your timed exam?'
),
(
ProctoredExamStudentAttemptStatus.submitted,
Expand Down

0 comments on commit f9df9db

Please sign in to comment.