%page expression_filter="h"/> <%! import third_party_auth from third_party_auth import pipeline, provider from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text 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)} ${Text(_('Required fields are noted by {strong_start}bold text and an asterisk (*){strong_end}.')).format( strong_start=HTML(''), strong_end=HTML(''))}
% else:
## Translators: selected_provider is the name of an external, third-party user authentication service (like Google or LinkedIn).
${Text(_("You've successfully signed in with {selected_provider}.")).format(selected_provider=HTML('{selected_provider}').format(selected_provider=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. ")}
${Text(_('Required fields are noted by {strong_start}bold text and an asterisk (*){strong_end}.')).format( \
strong_start=HTML(''), strong_end=HTML(''))}