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

${_("Dear student,")}

${_("You have been invited to join {course_name} at {site_name} by a "
	"member of the course staff.").format(
		course_name=course.display_name_with_default,
		site_name=site_name
	)}

${_("To finish your registration, please visit {registration_url} and fill "
	"out the registration form making sure to use {email_address} in the "
	"E-mail field.").format(
		registration_url=registration_url,
		email_address=email_address
	)}
% if auto_enroll:
${_("Once you have registered and activated your account, you will see "
	"{course_name} listed on your dashboard.").format(
		course_name=course.display_name_with_default
	)}
% else:
${_("Once you have registered and activated your account, visit {course_url} "
	"to join the course.").format(course_url=course_url)}
% endif

----
${_("This email was automatically sent from {site_name} to "
	"{email_address}").format(
		site_name=site_name, email_address=email_address
	)}