Files
edx-platform/lms/templates/email_change_successful.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
616 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
from django.urls import reverse
%>
<section class="container activation">
<section class="message">
<h1 class="valid">${_("E-mail change successful!")}</h1>
<hr class="horizontal-divider">
<p>${Text(_('You should see your new email in your {link_start}dashboard{link_end}.')).format(
link_start=HTML('<a href="{url}">').format(url=reverse('dashboard')),
link_end=HTML('</a>'),
)}</p>
</section>
</section>