Files
edx-platform/lms/templates/registration/activation_invalid.html
Kevin Falcone 15e8829308 Enable safe by default in the activation flow
The largest changes here were around HTML escaping in the translations.
2016-05-05 16:39:17 -04:00

29 lines
1.1 KiB
HTML

<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
from openedx.core.djangolib.markup import HTML, Text
%>
<section class="container activation">
<section class="message">
<h1 class="invalid">${_("Activation Invalid")}</h1>
<hr class="horizontal-divider">
<p>${Text(_('Something went wrong. Check to make sure the URL you went to was '
'correct -- e-mail programs will sometimes split it into two '
'lines. If you still have issues, e-mail us to let us know what happened '
'at {email_start}{email}{email_end}.')).format(
email_start=HTML('<a href="mailto:{}">').format(settings.BUGS_EMAIL),
email=settings.BUGS_EMAIL,
email_end=HTML('</a>')
)}</p>
<p>${Text(_('Or you can go back to the {link_start}home page{link_end}.')).format(
link_start=HTML('<a href="/">'), link_end=HTML('</a>'))}</p>
</section>
</section>