%!
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="../mktg_iframe.html" />
<%block name="title">
About ${course.number}%block>
<%block name="bodyclass">view-partial-mktgregister%block>
<%block name="headextra">
<%include file="../google_analytics.html" />
%block>
<%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>
<%block name="content">
%if not registered:
%endif
%block>