%! import third_party_auth from third_party_auth import pipeline, provider from django.utils.translation import ugettext as _ from django_countries import countries from student.models import UserProfile %>
% if third_party_auth.is_enabled(): % if not running_pipeline:${_('Create your own {platform_name} account below').format(platform_name=platform_name)} ${_('Required fields are noted by bold text and an asterisk (*).')}
% else:
## Translators: selected_provider is the name of an external, third-party user authentication service (like Google or LinkedIn).
${_("You've successfully signed in with {selected_provider}.").format(selected_provider='%s' % selected_provider)}
${_("We just need a little more information before you start learning with {platform_name}.").format(platform_name=settings.PLATFORM_NAME)}
${_("Please complete the following fields to register for an account. ")}
${_('Required fields are noted by bold text and an asterisk (*).')}