WL-633 | refactor pay_and_verify.html template.

This commit is contained in:
Hasnain
2016-11-14 18:17:11 +05:00
committed by hasnain-naveed
parent 4e773095c3
commit 3c29ecbf57
2 changed files with 16 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%namespace name='static' file='../static_content.html'/>
<li class="help-item help-item-questions">
<h3 class="title">${_("Have questions?")}</h3>
<div class="copy">
<p>${Text(_("Please read {a_start}our FAQs to view common questions about our certificates{a_end}.")).format(
a_start=HTML('<a rel="external" href="{}">').format(marketing_link('WHAT_IS_VERIFIED_CERT')),
a_end=HTML('</a>'))}
</p>
</div>
</li>

View File

@@ -100,14 +100,7 @@ from lms.djangoapps.verify_student.views import PayAndVerifyView
<div class="wrapper-content-supplementary">
<aside class="content-supplementary">
<ul class="list-help">
<li class="help-item help-item-questions">
<h3 class="title">${_("Have questions?")}</h3>
<div class="copy">
<p>${Text(_("Please read {a_start}our FAQs to view common questions about our certificates{a_end}.")).format(
a_start=HTML('<a rel="external" href="{}">').format(marketing_link('WHAT_IS_VERIFIED_CERT')),
a_end=HTML('</a>'))}</p>
</div>
</li>
<%include file="${static.get_template_path('_verification_help.html')}" />
% if PayAndVerifyView.WEBCAM_REQ in requirements:
<li class="help-item help-item-technical">