From 031a74865ea964331d157396ecaaf93fbab9b2cd Mon Sep 17 00:00:00 2001 From: Greg Price Date: Tue, 30 Apr 2013 15:05:36 -0400 Subject: [PATCH] Add login link to registration page if user is trying to enroll in a class If an unauthenticated user clicks on a course registration button, they will be redirected to the user registration page. Now, that page will include a link to the login page. If the user follows the link and logs in successfully, then they will be enrolled in the class. --- lms/templates/register.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lms/templates/register.html b/lms/templates/register.html index 663bfd14d5..52be4d1552 100644 --- a/lms/templates/register.html +++ b/lms/templates/register.html @@ -229,6 +229,17 @@

Registration Help

+% if course_id and enrollment_action: +
+

Already registered?

+

+ + Click here to log in. + +

+
+% endif +

Welcome to edX

Registering with edX gives you access to all of our current and future free courses. Not ready to take a course just yet? Registering puts you on our mailing list – we will update you as courses are added.