<%! from django.core.urlresolvers import reverse from courseware.courses import course_image_url, get_course_about_section from courseware.access import has_access %> <%namespace name='static' file='../static_content.html'/> <%inherit file="../main.html" /> <%block name="headextra"> <%include file="../google_analytics.html" /> <%block name="js_extra"> % if not registered: %if user.is_authenticated(): ## If the user is authenticated, clicking the enroll button just submits a form %else: ## If the user is not authenticated, clicking the enroll button pops up the register ## field. We also slip in the registration fields into the login/register fields so ## the user is automatically registered after logging in / registering %endif %endif <%block name="title">About ${course.number}

${course.number}: ${get_course_about_section(course, "title")}${get_course_about_section(course, "university")}

%if user.is_authenticated(): %if registered: %if show_courseware_link: %endif You are registered for this course (${course.number}) %if show_courseware_link: View Courseware %endif %else: Register for ${course.number}
%endif %else: Log In % endif to enroll.'>Register for ${course.number} %endif
% if get_course_about_section(course, "video"):
%else:
% endif
${get_course_about_section(course, "overview")}
  1. Course Number

    ${course.number}
  2. Classes Start

    ${course.start_date_text}
  3. ## We plan to ditch end_date (which is not stored in course metadata), ## but for backwards compatibility, show about/end_date blob if it exists. % if get_course_about_section(course, "end_date") or course.end:
  4. Classes End

    % if get_course_about_section(course, "end_date"): ${get_course_about_section(course, "end_date")} % else: ${course.end_date_text} % endif
  5. % endif % if get_course_about_section(course, "effort"):
  6. Estimated Effort

    ${get_course_about_section(course, "effort")}
  7. % endif ##
  8. Course Length

    15 weeks
  9. % if get_course_about_section(course, "prerequisites"):
  10. Prerequisites

    ${get_course_about_section(course, "prerequisites")}
  11. % endif
## For now, ocw links are the only thing that goes in additional resources % if get_course_about_section(course, "ocw_links"):

Additional Resources

MITOpenCourseware

${get_course_about_section(course, "ocw_links")}
%endif
%if not registered:
%endif <%include file="../video_modal.html" />