<%
course_locator = loc_mapper().translate_location(
context_course.location.course_id, context_course.location, False, True
)
%>
% for section in sections:
<%
section_locator = loc_mapper().translate_location(
context_course.location.course_id, section.location, False, True
)
%>
<%include file="widgets/_ui-dnd-indicator-before.html" />
${_('Expand/collapse this section')}
<%include file="widgets/_ui-dnd-indicator-after.html" />
% endfor
-
<% if section.start is not None: start_date_str = section.start.strftime('%m/%d/%Y') start_time_str = section.start.strftime('%H:%M') else: start_date_str = '' start_time_str = '' %> %if section.start is None: ${_("This section is not scheduled for release")} ${_("Schedule")} %else: ${_("Release date:")} ${date_utils.get_default_time_display(section.start)} ${_("Edit section release date")} %endif
- ${_('Delete section')}
- ${_("Drag to reorder section")}
-
% for subsection in section.get_children():
<%
subsection_locator = loc_mapper().translate_location(
context_course.location.course_id, subsection.location, False, True
)
%>
- <%include file="widgets/_ui-dnd-indicator-before.html" /> ${units.enum_units(subsection)} <%include file="widgets/_ui-dnd-indicator-after.html" /> % endfor
- <%include file="widgets/_ui-dnd-indicator-initial.html" />