<%! from django.utils.translation import ugettext as _ %>
<%! from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers %>
${_("Thank you for creating an account with {platform_name}!").format(
    platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME)
)}

${_("There's just one more step before you can enroll in a course: "
    "you need to activate your {platform_name} account. To activate "
    "your account, click the following link. If that doesn't work, "
    "copy and paste the link into your browser's address bar.").format(
        platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME)
    )}

% if is_secure:
  https://${ site }/activate/${ key }
% else:
  http://${ site }/activate/${ key }
% endif
${_("If you didn't create an account, you don't need to do anything; you "
      "won't receive any more email from us. If you need assistance, please "
      "do not reply to this email message. Check the help section of the "
      "{platform_name} website.").format(platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME))}

<%! from django.utils.translation import ugettext as _ %>
<%! from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers %>

${_("Thank you for creating an account with {platform_name}!").format(
    platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME)
)}

${_("There's just one more step before you can enroll in a course: "
    "you need to activate your {platform_name} account. To activate "
    "your account, click the following link. If that doesn't work, "
    "copy and paste the link into your browser's address bar.").format(
        platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME)
    )}

<% base_url=configuration_helpers.get_value('SITE_NAME', settings.SITE_NAME) %>
% if is_secure:
  https://${ base_url }/activate/${ key }
% else:
  http://${ base_url }/activate/${ key }
% endif
${_("If you didn't create an account, you don't need to do anything; you "
      "won't receive any more email from us. If you need assistance, please "
      "do not reply to this email message. Check the help section of the "
      "{platform_name} website.").format(platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME))}

Use site_configuration helper to get url base for activation email
Use site_configuration helper to get url base for activation email
