-
-
-
-
- <%block name="js_extra"/>
-
-
diff --git a/lms/templates/portal/course_about.html b/lms/templates/portal/course_about.html
index 9498620527..3a33723949 100644
--- a/lms/templates/portal/course_about.html
+++ b/lms/templates/portal/course_about.html
@@ -25,10 +25,10 @@
%if registered:
You are registered for this course (${course.number}).
%else:
- Register for ${course.number}
+ Register for ${course.number}
%endif
%else:
- Register for ${course.number}
+ Register for ${course.number}
%endif
@@ -107,4 +107,51 @@
+%if not registered:
+
+
+
+ %if user.is_authenticated():
+ ## If the user is authenticated, clicking the enroll button just submits a form
+
+ %else:
+ ## If the user is not authenticated, clicking the enroll button pops up the register
+ ## field. We also slip in the registration fields into the login/register fields so
+ ## the user is automatically registered after logging in / registering
+
+ %endif
+%endif
+
+
<%include file="../video_modal.html" />
diff --git a/lms/templates/registration/activate_account_notice.html b/lms/templates/registration/activate_account_notice.html
new file mode 100644
index 0000000000..ca051902b1
--- /dev/null
+++ b/lms/templates/registration/activate_account_notice.html
@@ -0,0 +1,3 @@
+
Thanks For Registering!
+
Your account is not active yet. An activation link has been sent to ${ email }, along with
+instructions for activating your account.
diff --git a/lms/templates/registration/activation_complete.html b/lms/templates/registration/activation_complete.html
new file mode 100644
index 0000000000..7d3579b34e
--- /dev/null
+++ b/lms/templates/registration/activation_complete.html
@@ -0,0 +1,30 @@
+<%! from django.core.urlresolvers import reverse %>
+<%inherit file="../main.html" />
+
+<%namespace name='static' file='../static_content.html'/>
+
+
+
+
+ %if not already_active:
+
Activation Complete!
+ %else:
+
Account already active!
+ %endif
+
+
+
+ %if not already_active:
+ Thanks for activating your account.
+ %else:
+ This account has already been activated.
+ %endif
+
+ %if user_logged_in:
+ Visit your dashboard to see your courses.
+ %else:
+ You can now login.
+ %endif
+