Commit 3d67c960 by Chris Dodge

fix bug where activation page was blank

parent 54176bfd
...@@ -3,28 +3,24 @@ ...@@ -3,28 +3,24 @@
<%namespace name='static' file='../static_content.html'/> <%namespace name='static' file='../static_content.html'/>
<%block name="content">
<section class="container activation"> <section class="container activation">
<section class="message"> <section class="message">
%if not already_active:
<h1 class="valid">Activation Complete!</h1> <p style='padding-top:100px; text-align:center;'>
%else:
<h1>Account already active!</h1>
%endif
<hr class="horizontal-divider">
<p>
%if not already_active: %if not already_active:
Thanks for activating your account. Thanks for activating your account.
%else: %else:
This account has already been activated. This account has already been activated.
%endif %endif
%if user_logged_in: %if user_logged_in:
Visit your <a href="${reverse('dashboard')}">dashboard</a> to see your courses. Visit your <a href="/">dashboard</a> to see your courses.
%else: %else:
You can now <a href="#login-modal" rel="leanModal">login</a>. You can now <a href="#login-modal" rel="leanModal">login</a>.
%endif %endif
</p> </p>
</section> </section>
</section> </section>
</%block>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment