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

% 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: ${_(u"Congratulations! You are eligible to receive course credit from {providers} for successfully completing your {platform_name} course! {link_start}Get your credit now.{link_end}").format( link_start=u''.format( dashboard_url=dashboard_link ), link_end=u'', platform_name=settings.PLATFORM_NAME, providers=providers )} % else: ${_(u"Congratulations! You are eligible to receive course credit for successfully completing your {platform_name} course! {link_start}Get your credit now.{link_end}").format( link_start=u''.format( dashboard_url=dashboard_link ), link_end=u'', platform_name=settings.PLATFORM_NAME )} % endif

${_(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.")}

${_(u'To get course credit, simply go to your {link_start}{platform_name} dashboard{link_end} and click the Get Credit button. After you receive your credit, you will also have an official academic transcript at the institution that granted the credit.').format( link_start=u''.format( dashboard_url=dashboard_link ), link_end=u'', platform_name=settings.PLATFORM_NAME )}

${_(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)}