This is part 2 of a multiple PR to escape edx-platform templates to prevent xss attack. PROD-465
18 lines
651 B
HTML
18 lines
651 B
HTML
<%page expression_filter="h"/>
|
|
<%! from django.utils.translation import ugettext as _
|
|
from openedx.core.djangolib.markup import HTML, Text
|
|
%>
|
|
|
|
<%inherit file="../main.html" />
|
|
|
|
<%block name="pagetitle">${_("Checkout Error")}</%block>
|
|
|
|
|
|
<section class="container">
|
|
<h1>${_("Checkout Error")}</h1>
|
|
${ Text(_(u"An error has occurred with your payment. {b_start}You have not been charged.{b_end} Please try to submit your payment again. If this problem persists, contact {email}.")).format(
|
|
b_start=HTML('<b>'),
|
|
b_end=HTML('</b>'),
|
|
email=HTML("<a href=\"mailto:{email}\">{email}</a>").format(email=payment_support_email)) }
|
|
</section>
|