Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
69ba8eb0
Commit
69ba8eb0
authored
Apr 11, 2017
by
Brian Jacobel
Committed by
Diana Huang
Apr 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up docs re: exam formats in outline html
parent
aafd6a03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
+5
-5
No files found.
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
View file @
69ba8eb0
...
@@ -44,9 +44,9 @@ from django.utils.translation import ugettext as _
...
@@ -44,9 +44,9 @@ from django.utils.translation import ugettext as _
<div
class=
"details"
>
<div
class=
"details"
>
## There are behavior differences between rendering of subsections which have
## There are behavior differences between rendering of subsections which have
##
special_exam/timed examinations
and those that do not.
##
exams (timed, graded, etc)
and those that do not.
##
##
##
Proctoring exposes a
exam status message field as well as a status icon
##
Exam subsections expose
exam status message field as well as a status icon
<
%
<
%
if
subsection
.
get
('
due
')
is
None:
if
subsection
.
get
('
due
')
is
None:
data_string =
subsection.get('format')
data_string =
subsection.get('format')
...
@@ -59,7 +59,7 @@ from django.utils.translation import ugettext as _
...
@@ -59,7 +59,7 @@ from django.utils.translation import ugettext as _
% if subsection.get('format') or 'special_exam_info' in subsection:
% if subsection.get('format') or 'special_exam_info' in subsection:
<span
class=
"subtitle"
>
<span
class=
"subtitle"
>
% if 'special_exam' in subsection:
% if 'special_exam' in subsection:
## Display the
proctored
exam status icon and status message
## Display the exam status icon and status message
<span
<span
class=
"menu-icon icon fa ${subsection['special_exam_info'].get('suggested_icon', 'fa-pencil-square-o')} ${subsection['special_exam_info'].get('status', 'eligible')}"
class=
"menu-icon icon fa ${subsection['special_exam_info'].get('suggested_icon', 'fa-pencil-square-o')} ${subsection['special_exam_info'].get('status', 'eligible')}"
aria-hidden=
"true"
aria-hidden=
"true"
...
@@ -68,7 +68,7 @@ from django.utils.translation import ugettext as _
...
@@ -68,7 +68,7 @@ from django.utils.translation import ugettext as _
${subsection['special_exam_info'].get('short_description', '')}
${subsection['special_exam_info'].get('short_description', '')}
</span>
</span>
## completed
proctored
exam statuses should not show the due date
## completed exam statuses should not show the due date
## since the exam has already been submitted by the user
## since the exam has already been submitted by the user
% if not subsection['special_exam_info'].get('in_completed_state', False):
% if not subsection['special_exam_info'].get('in_completed_state', False):
<span
<span
...
@@ -80,7 +80,7 @@ from django.utils.translation import ugettext as _
...
@@ -80,7 +80,7 @@ from django.utils.translation import ugettext as _
></span>
></span>
% endif
% endif
% else:
% else:
## non-
proctor
ed section, we just show the exam format and the due date
## non-
grad
ed section, we just show the exam format and the due date
## this is the standard case in edx-platform
## this is the standard case in edx-platform
<span
<span
class=
"localized-datetime subtitle-name"
class=
"localized-datetime subtitle-name"
...
...
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