Commit 69ba8eb0 by Brian Jacobel Committed by Diana Huang

Clean up docs re: exam formats in outline html

parent aafd6a03
...@@ -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-proctored section, we just show the exam format and the due date ## non-graded 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment