<p><%= gettext("You haven't added any sections to your course outline.") %><a href="#" class="button new-button"><i class="icon-plus"></i><%= gettext("Add your first section") %></a></p>
<p>${_("You haven't added any sections to your course outline yet.")}<ahref="#"class="button new-button"><iclass="icon-plus"></i>${_("Add your first section")}</a></p>
<ahref="#"data-tooltip="${_('Expand/collapse this section')}"class="expand-collapse-icon collapse"></a>
<headerclass="section">
<ahref="#"data-tooltip="${_('Expand/collapse this section')}"class="action expand-collapse"><iclass="icon-caret-down ui-toggle-expansion"></i><spanclass="sr">${_('Expand/collapse this section')}</span></a>
<ahref="#"data-tooltip="${_('Delete this section')}"class="action delete-section-button"><iclass="icon-trash"></i><spanclass="sr">Delete section</span></a>
</li>
<liclass="actions-item drag">
<spandata-tooltip="${_('Drag to reorder')}"class="drag-handle section-drag-handle action"><iclass="icon-ellipsis-vertical"></i><spanclass="sr"> ${_("Drag to reorder section")}</span></span>
<ahref="#"data-tooltip="${_('Expand/collapse this subsection')}"class="action expand-collapse"><iclass="icon-caret-down ui-toggle-expansion"></i><spanclass="sr">${_('Expand/collapse this subsection')}</span></a>
<divclass="gradable-status"data-initial-status="${subsection.format if subsection.format is not None else _('Not Graded')}"></div>
</li>
<liclass="actions-item delete">
<ahref="#"data-tooltip="${_('Delete this subsection')}"class="action delete-subsection-button"><iclass="icon-trash"></i><spanclass="sr">${_("Delete subsection")}</span></a>
</li>
<liclass="actions-item drag">
<spandata-tooltip="${_('Drag to reorder')}"class="drag-handle subsection-drag-handle action"><iclass="icon-ellipsis-vertical"></i></span>
<h3class="title-3">${_("What can I do on this page?")}</h3>
<p>${_("You can create new sections and subsections, set the release date for sections, and create new units in existing subsections. You can set the assignment type for subsections that are to be graded, and you can open a subsection for further editing.")}</p>
<p>${_("In addition, you can drag and drop sections, subsections, and units to reorganize your course.")}</p>
<pid="dialog-edit-sectionrelease-description"class="message">${_('On the date set below, this section - {name} - will be released to students. Any units marked private will only be visible to admins.').format(name='<strongclass="section-name"></strong>')}</p>
<p>${_('On the date set above, this section - {name} - will be released to students. Any units marked private will only be visible to admins.').format(name='<strongclass="section-name"></strong>')}</p>
<ahref="#"data-tooltip="Delete this unit"class="delete-button"data-locator="${unit_locator}">
<ulclass="actions-list">
<spanclass="delete-icon"></span></a>
<liclass="actions-item delete">
<spandata-tooltip="Drag to sort"class="drag-handle unit-drag-handle"></span>
<ahref="#"data-tooltip="Delete this unit"class="delete-unit-button action"data-locator="${unit_locator}"><iclass="icon-trash"></i><spanclass="sr">Delete unit</span></a>
</li>
<liclass="actions-item drag">
<spandata-tooltip="Drag to sort"class="drag-handle unit-drag-handle action"><iclass="icon-ellipsis-vertical"></i></span>
</li>
</ul>
</div>
</div>
% endif
% endif
</div>
</div>
...
@@ -47,11 +51,11 @@ This def will enumerate through a passed in subsection and list all of the units
...
@@ -47,11 +51,11 @@ This def will enumerate through a passed in subsection and list all of the units