Files
edx-platform/lms/templates/invalid_email_key.html
Adeel Khan 30d8dfb5dd Fix edx-platform templates for xss.
This is part 2 of a multiple PR to escape
edx-platform templates to prevent xss attack.

PROD-465
2019-07-10 13:31:02 +05:00

21 lines
841 B
HTML

<%page expression_filter="h" />
<%inherit file="main.html" />
<%! from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<section class="container activation">
<section class="message">
<h1 class="invalid">${_("Invalid email change key")}</h1>
<hr class="horizontal-divider">
<p> ${_("This e-mail key is not valid. Please check:")}</p>
<ul>
<li>${_("Was this key already used? Check whether the e-mail change has already happened.")}
<li>${_("Did your e-mail client break the URL into two lines?")}
<li>${_("The keys are valid for a limited amount of time. Has the key expired?")}
</ul>
<p>${Text(_('Go back to the {link_start}home page{link_end}.')).format(link_start=HTML('<a href="/">'), link_end=HTML('</a>'))}</p>
</section>
</section>