<%inherit file="base.html" /> <%def name="online_help_token()"><% return "unit" %> <%! from django.core.urlresolvers import reverse from contentstore.views.helpers import EDITING_TEMPLATES from django.utils.translation import ugettext as _ from xmodule.modulestore.django import loc_mapper %> <%namespace name='static' file='static_content.html'/> <%namespace name="units" file="widgets/units.html" /> <%block name="title">${_("Individual Unit")} <%block name="bodyclass">is-signedin course unit view-unit feature-upload <%block name="header_extras"> % for template_name in EDITING_TEMPLATES: % endfor <%block name="jsextra"> <%block name="content">

${_("You are editing a draft.")} % if published_date: ${_("This unit was originally published on {date}.").format(date=published_date)} % endif

${_("View the Live Version")}

    % for locator in locators:
  1. % endfor
<% ctx_loc = context_course.location index_url = loc_mapper().translate_location(ctx_loc.course_id, ctx_loc, False, True).url_reverse('course') subsection_url = loc_mapper().translate_location( ctx_loc.course_id, subsection.location, False, True ).url_reverse('subsection') %>