% if course_sections is not None: @@ -91,14 +92,16 @@ course_sections = blocks.get('children') ## ## 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 or self_paced: # examples: Homework, Lab, etc. data_string = subsection.get('format') + data_datetime = "" else: if 'special_exam_info' in subsection: data_string = _('due {date}') else: data_string = _("{subsection_format} due {{date}}").format(subsection_format=subsection.get('format')) + data_datetime = subsection.get('due') %> % if subsection.get('format') or 'special_exam_info' in subsection: @@ -117,7 +120,7 @@ course_sections = blocks.get('children') % if not subsection['special_exam_info'].get('in_completed_state', False):