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
442f91ed
Commit
442f91ed
authored
Sep 18, 2015
by
chrisndodge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #152 from edx/hasnain-naveed/SOL-1221
SOL-1221
parents
e34ca44f
16c45369
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
edx_proctoring/static/proctoring/js/views/proctored_exam_attempt_view.js
+12
-0
edx_proctoring/static/proctoring/templates/student-proctored-exam-attempts.underscore
+2
-0
No files found.
edx_proctoring/static/proctoring/js/views/proctored_exam_attempt_view.js
View file @
442f91ed
...
@@ -153,6 +153,18 @@ var edx = edx || {};
...
@@ -153,6 +153,18 @@ var edx = edx || {};
end_page
=
data_json
.
pagination_info
.
total_pages
;
end_page
=
data_json
.
pagination_info
.
total_pages
;
}
}
_
.
each
(
data_json
.
proctored_exam_attempts
,
function
(
proctored_exam_attempt
)
{
if
(
proctored_exam_attempt
.
taking_as_proctored
)
{
if
(
proctored_exam_attempt
.
is_sample_attempt
)
{
proctored_exam_attempt
.
exam_attempt_type
=
gettext
(
'Practice'
);
}
else
{
proctored_exam_attempt
.
exam_attempt_type
=
gettext
(
'Proctored'
);
}
}
else
{
proctored_exam_attempt
.
exam_attempt_type
=
gettext
(
'Timed'
);
}
});
var
data
=
{
var
data
=
{
proctored_exam_attempts
:
data_json
.
proctored_exam_attempts
,
proctored_exam_attempts
:
data_json
.
proctored_exam_attempts
,
pagination_info
:
data_json
.
pagination_info
,
pagination_info
:
data_json
.
pagination_info
,
...
...
edx_proctoring/static/proctoring/templates/student-proctored-exam-attempts.underscore
View file @
442f91ed
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
<th class="username"><%- gettext("Username") %></th>
<th class="username"><%- gettext("Username") %></th>
<th class="exam-name"><%- gettext("Exam Name") %></th>
<th class="exam-name"><%- gettext("Exam Name") %></th>
<th class="attempt-allowed-time"><%- gettext("Time Limit") %> </th>
<th class="attempt-allowed-time"><%- gettext("Time Limit") %> </th>
<th class="attempt-type"><%- gettext("Type") %> </th>
<th class="attempt-started-at"><%- gettext("Started At") %></th>
<th class="attempt-started-at"><%- gettext("Started At") %></th>
<th class="attempt-completed-at"><%- gettext("Completed At") %> </th>
<th class="attempt-completed-at"><%- gettext("Completed At") %> </th>
<th class="attempt-status"><%- gettext("Status") %> </th>
<th class="attempt-status"><%- gettext("Status") %> </th>
...
@@ -99,6 +100,7 @@
...
@@ -99,6 +100,7 @@
<%- interpolate(gettext(' %(exam_display_name)s '), { exam_display_name: proctored_exam_attempt.proctored_exam.exam_name }, true) %>
<%- interpolate(gettext(' %(exam_display_name)s '), { exam_display_name: proctored_exam_attempt.proctored_exam.exam_name }, true) %>
</td>
</td>
<td> <%= proctored_exam_attempt.allowed_time_limit_mins %></td>
<td> <%= proctored_exam_attempt.allowed_time_limit_mins %></td>
<td> <%= proctored_exam_attempt.exam_attempt_type %></td>
<td> <%= getDateFormat(proctored_exam_attempt.started_at) %></td>
<td> <%= getDateFormat(proctored_exam_attempt.started_at) %></td>
<td> <%= getDateFormat(proctored_exam_attempt.completed_at) %></td>
<td> <%= getDateFormat(proctored_exam_attempt.completed_at) %></td>
<td>
<td>
...
...
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