Files
edx-platform/cms/templates/registration/activation_complete.html
2015-06-03 12:36:47 -04:00

34 lines
971 B
HTML

<%inherit file="../base.html" />
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
%>
<%namespace name='static' file='../static_content.html'/>
%if not user_logged_in:
<%block name="bodyclass">not-signedin view-activation</%block>
%endif
<%block name="content">
<section class="container activation">
<section class="message">
<p style='padding-top:100px; text-align:center;'>
%if not already_active:
${_("Thanks for activating your account.")}
%else:
${_("This account has already been activated.")}
%endif
%if user_logged_in:
${_("Visit your {link_start}dashboard{link_end} to see your courses.").format(link_start='<a href="/">', link_end='</a>')}
%else:
${_("You can now {link_start}login{link_end}.").format(link_start='<a href="{url}">'.format(url=reverse('login')), link_end='</a>')}
%endif
</p>
</section>
</section>
</%block>