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
edx
edx-proctoring
Commits
53ceab51
Commit
53ceab51
authored
Dec 10, 2015
by
chrisndodge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #243 from edx/cdodge/content-tweeks
Tweek review status pages
parents
0fad0fa1
049edaed
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 @
53ceab51
...
@@ -1486,6 +1486,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
...
@@ -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.
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'
]
attempt_time
=
attempt
[
'allowed_time_limit_mins'
]
if
attempt
else
exam
[
'time_limit_mins'
]
total_time
=
humanized_time
(
attempt_time
)
total_time
=
humanized_time
(
attempt_time
)
progress_page_url
=
''
progress_page_url
=
''
...
@@ -1506,6 +1507,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
...
@@ -1506,6 +1507,7 @@ def _get_proctored_exam_context(exam, attempt, course_id, is_practice_exam=False
'exam_id'
:
exam
[
'id'
],
'exam_id'
:
exam
[
'id'
],
'progress_page_url'
:
progress_page_url
,
'progress_page_url'
:
progress_page_url
,
'is_sample_attempt'
:
is_practice_exam
,
'is_sample_attempt'
:
is_practice_exam
,
'has_due_date'
:
has_due_date
,
'has_due_date_passed'
:
_has_due_date_passed
(
exam
[
'due_date'
]),
'has_due_date_passed'
:
_has_due_date_passed
(
exam
[
'due_date'
]),
'does_time_remain'
:
_does_time_remain
(
attempt
),
'does_time_remain'
:
_does_time_remain
(
attempt
),
'enter_exam_endpoint'
:
reverse
(
'edx_proctoring.proctored_exam.attempt.collection'
),
'enter_exam_endpoint'
:
reverse
(
'edx_proctoring.proctored_exam.attempt.collection'
),
...
...
edx_proctoring/templates/proctored_exam/rejected.html
View file @
53ceab51
...
@@ -6,14 +6,14 @@
...
@@ -6,14 +6,14 @@
{% endblocktrans %}
{% endblocktrans %}
</h3>
</h3>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
<p>
{% blocktrans %}
{% blocktrans %}
You are no longer eligible for academic credit for this course, regardless of your final grade.
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.
If you have questions about the status of your proctored exam results, contact {{ platform_name }} Support.
{% endblocktrans %}
{% endblocktrans %}
</p>
</p>
{% include 'proctored_exam/visit_exam_content.html' %}
<hr>
<hr>
<p>
<p>
{% blocktrans %}
{% blocktrans %}
...
...
edx_proctoring/templates/proctored_exam/submitted.html
View file @
53ceab51
...
@@ -5,9 +5,6 @@
...
@@ -5,9 +5,6 @@
You have submitted this proctored exam for review
You have submitted this proctored exam for review
{% endblocktrans %}
{% endblocktrans %}
</h3>
</h3>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
<p>
{% blocktrans %}
{% blocktrans %}
•
After you quit the proctoring session, the recorded data is uploaded for review.
</br>
•
After you quit the proctoring session, the recorded data is uploaded for review.
</br>
...
@@ -15,6 +12,8 @@
...
@@ -15,6 +12,8 @@
{% endblocktrans %}
{% endblocktrans %}
</p>
</p>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
<p>
{% blocktrans %}
{% blocktrans %}
If you have questions about the status of your proctored exam results, contact {{ platform_name }} Support.
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 @
53ceab51
...
@@ -6,14 +6,13 @@
...
@@ -6,14 +6,13 @@
{% endblocktrans %}
{% endblocktrans %}
</h3>
</h3>
{% include 'proctored_exam/visit_exam_content.html' %}
<p>
<p>
{% blocktrans %}
{% blocktrans %}
You are eligible to purchase academic credit for this course if you complete all required exams
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.
and also achieve a final grade that meets the credit requirements for the course.
{% endblocktrans %}
{% endblocktrans %}
</p>
</p>
{% include 'proctored_exam/visit_exam_content.html' %}
<hr>
<hr>
<p>
<p>
{% blocktrans %}
{% blocktrans %}
...
...
edx_proctoring/templates/proctored_exam/visit_exam_content.html
View file @
53ceab51
{% load i18n %}
{% load i18n %}
{% if has_due_date_passed %}
{% if has_due_date_passed %}
<hr>
<p>
<p>
{% blocktrans %}
{% blocktrans %}
If you want to view your exam questions and responses, click on the button “let me see my exam”.
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.
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.
{% endblocktrans %}
{% endblocktrans %}
</p>
</p>
<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}}"
>
<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>
</button>
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
</p>
</p>
...
@@ -37,4 +35,10 @@
...
@@ -37,4 +35,10 @@
}
}
);
);
</script>
</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 %}
{% 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