<%! from django.utils.translation import ugettext as _ %>

<%namespace name='static' file='../static_content.html'/>

<header class="page-header content-main">
    <h3 class="title">
        <% course_name_html = '<span class="sts-course-name">' + course_num + '</span>' %>
        <% course_display_html = course_org + "'s " + course_num + " " + course_name %>
        % if upgrade:
            ${_("You are upgrading your enrollment for: {course_name}").format(
                course_name=course_name_html
            )}
        % elif reverify:
            ${_("You are re-verifying for: {course_name}").format(
                course_name=course_name_html
            )}
        % elif modes_dict and "professional" in modes_dict:
            ${_("You are enrolling in: {course_name}").format(
                course_name=course_name_html
            )}
        % else:
            ${_("Congratulations! You are now enrolled in {course_display}").format(
                course_display=course_display_html
            )}
        % endif
    </h3>
</header>

<%block name="js_extra">
    <%static:js group='rwd_header'/>
</%block>
