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
049edaed
Commit
049edaed
authored
Dec 09, 2015
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweek review status pages
parent
0fad0fa1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
12 deletions
+16
-12
edx_proctoring/api.py
+2
-0
edx_proctoring/templates/proctored_exam/rejected.html
+2
-2
edx_proctoring/templates/proctored_exam/submitted.html
+2
-3
edx_proctoring/templates/proctored_exam/verified.html
+1
-2
edx_proctoring/templates/proctored_exam/visit_exam_content.html
+9
-5
No files found.
edx_proctoring/api.py
View file @
049edaed
...
...
@@ -1486,6 +1486,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
"""
Common context variables for the Proctored and Practice exams' templates.
"""
has_due_date
=
True
if
exam
[
'due_date'
]
is
not
None
else
False
attempt_time
=
attempt
[
'allowed_time_limit_mins'
]
if
attempt
else
exam
[
'time_limit_mins'
]
total_time
=
humanized_time
(
attempt_time
)
progress_page_url
=
''
...
...
@@ -1506,6 +1507,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
'exam_id'
:
exam
[
'id'
],
'progress_page_url'
:
progress_page_url
,
'is_sample_attempt'
:
is_practice_exam
,
'has_due_date'
:
has_due_date
,
'has_due_date_passed'
:
_has_due_date_passed
(
exam
[
'due_date'
]),
'does_time_remain'
:
_does_time_remain
(
attempt
),
'enter_exam_endpoint'
:
reverse
(
'edx_proctoring.proctored_exam.attempt.collection'
),
...
...
edx_proctoring/templates/proctored_exam/rejected.html
View file @
049edaed
...
...
@@ -6,14 +6,14 @@
{% endblocktrans %}
</h3>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
{% blocktrans %}
You are no longer eligible for academic credit for this course, regardless of your final grade.
If you have questions about the status of your proctored exam results, contact {{ platform_name }} Support.
{% endblocktrans %}
</p>
{% include 'proctored_exam/visit_exam_content.html' %}
<hr>
<p>
{% blocktrans %}
...
...
edx_proctoring/templates/proctored_exam/submitted.html
View file @
049edaed
...
...
@@ -5,9 +5,6 @@
You have submitted this proctored exam for review
{% endblocktrans %}
</h3>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
{% blocktrans %}
•
After you quit the proctoring session, the recorded data is uploaded for review.
</br>
...
...
@@ -15,6 +12,8 @@
{% endblocktrans %}
</p>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
{% blocktrans %}
If you have questions about the status of your proctored exam results, contact {{ platform_name }} Support.
...
...
edx_proctoring/templates/proctored_exam/verified.html
View file @
049edaed
...
...
@@ -6,14 +6,13 @@
{% endblocktrans %}
</h3>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
{% blocktrans %}
You are eligible to purchase academic credit for this course if you complete all required exams
and also achieve a final grade that meets the credit requirements for the course.
{% endblocktrans %}
</p>
{% include 'proctored_exam/visit_exam_content.html' %}
<hr>
<p>
{% blocktrans %}
...
...
edx_proctoring/templates/proctored_exam/visit_exam_content.html
View file @
049edaed
{% load i18n %}
{% if has_due_date_passed %}
<hr>
<p>
{% blocktrans %}
If you want to view your exam questions and responses, click on the button “let me see my exam”.
When you clicked the button, you will be taken directly to the exam content. The exam’s status will
still be visible to you in the left navigation pane.
To view your exam questions and responses, select
<strong>
View my exam
</strong>
. The exam's review status is shown in the left navigation pane.
{% endblocktrans %}
</p>
<p>
<button
type=
"button"
name=
"visit-exam-content"
class=
"visit-exam-button exam-action-button btn btn-pl-primary btn-base"
data-action-url=
"{{update_is_status_acknowledge_url}}"
>
{% trans "
Let me see
my exam" %}
{% trans "
View
my exam" %}
</button>
<div
class=
"clearfix"
></div>
</p>
...
...
@@ -37,4 +35,10 @@
}
);
</script>
{% elif has_due_date %}
<p>
{% blocktrans %}
After the due date for this exam has passed, you will be able to review your answers on this page.
{% endblocktrans %}
</p>
{% endif %}
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