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

<header class="page-header">
    <h2 class="title">
        <span class="wrapper-sts">
            % if upgrade:
                <span class="sts-label">${_("You are upgrading your registration for")}</span>
            % elif reverify:
                <span class="sts-label">${_("You are re-verifying for")}</span>
            % elif modes_dict and "professional" in modes_dict:
                <span class="sts-label">${_("You are registering for")}</span>
            % else:
                <span class="sts-label">${_("Congrats! You are now registered to audit")}</span>
            % endif
                <span class="sts-course-org">${course_org}'s</span>
                <span class="sts-course-number">${course_num}</span>
                <span class="sts-course-name">${course_name}</span>
        </span>

        % if modes_dict and "professional" in modes_dict:
            <span class="sts-track professional-ed">
                <span class="sts-track-value">
                    ${_("Professional Education")}
                </span>
            </span>
        % else:
            <span class="sts-track">
                <span class="sts-track-value">
                    % if upgrade:
                        <span class="context">${_("Upgrading to:")}</span> ${_("Verified")}
                    % elif reverify:
                        <span class="context">${_("Re-verifying for:")}</span> ${_("Verified")}
                    % else:
                        <span class="context">${_("Registering as: ")}</span> ${_("Verified")}
                    % endif
                </span>
            </span>
        % endif
    </h2>
</header>
