<%! from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text %>

% if full_name is not UNDEFINED and full_name is not None: ${_(u"Hi {name},").format(name=full_name)} % else: ${_(u"Hi,")} % endif

% if providers: ${Text(_(u"Congratulations! You are now eligible to receive course credit from {providers} for successfully completing your {platform_name} course! {link_start}Purchase credit now.{link_end}")).format( link_start=HTML(u'').format( dashboard_url=dashboard_link ), link_end=HTML(u''), platform_name=settings.PLATFORM_NAME, providers=providers )} % else: ${Text(_(u"Congratulations! You are now eligible to receive course credit for successfully completing your {platform_name} course! {link_start}Purchase credit now.{link_end}")).format( link_start=HTML(u'').format( dashboard_url=dashboard_link ), link_end=HTML(u''), platform_name=settings.PLATFORM_NAME )} % endif

${Text(_(u"Course credit can help you get a jump start on your university degree, finish a degree already started, or fulfill requirements at a different academic institution."))}

${Text(_(u'There are 2 steps to getting course credit.'))}

  1. ${Text(_(u'Purchase credit by going to your {link_start}{platform_name} dashboard{link_end} and clicking the {bold_start}Get Credit{bold_end} button below the course title.')).format( link_start=HTML(u'').format( dashboard_url=dashboard_link, ), link_end=HTML(u''), bold_start=HTML(''), bold_end=HTML(''), platform_name=settings.PLATFORM_NAME )}
  2. ${Text(_(u'When your payment is complete, return to the dashboard and click the {bold_start}Request Credit{bold_end} button under the course title to request an official academic transcript at the institution that granted the credit.')).format( bold_start=HTML(''), bold_end=HTML(''), )}

${_(u"We hope you enjoyed the course, and we hope to see you in future {platform_name} courses!").format(platform_name=settings.PLATFORM_NAME)}
${_(u"The {platform_name} Team").format(platform_name=settings.PLATFORM_NAME)}