<%! from django.utils.translation import ugettext as _ %>
You have been invited to join ${course_id} at ${site_name} by a member of the course staff.
${_("Dear student,")}
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.
${_("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_id} listed on your dashboard.
${_("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.
${_("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}
\ No newline at end of file
${_("This email was automatically sent from {site_name} to "
<%! from django.utils.translation import ugettext as _ %>
You have been un-enrolled in ${course_id} at ${site_name} by a member of the course staff. The course will no longer appear on your ${site_name} dashboard.