LMS: adds conditional content/instructions for registration upgrade flow
This commit is contained in:
committed by
Diana Huang
parent
e50397002f
commit
8442f6e093
@@ -3,7 +3,15 @@
|
||||
<%inherit file="../main.html" />
|
||||
|
||||
<%block name="bodyclass">register verification-process step-select-track ${'is-upgrading' if upgrade else ''}</%block>
|
||||
<%block name="title"><title>${_("Register for {} | Choose Your Track").format(course_name)}</title></%block>
|
||||
<%block name="title">
|
||||
<title>
|
||||
%if upgrade:
|
||||
${_("Upgrade Your Registration for {} | Choose Your Track").format(course_name)}
|
||||
%else:
|
||||
${_("Register for {} | Choose Your Track").format(course_name)}
|
||||
%endif
|
||||
</title>
|
||||
</%block>
|
||||
|
||||
<%block name="js_extra">
|
||||
<script type="text/javascript">
|
||||
@@ -60,9 +68,16 @@ $(document).ready(function() {
|
||||
<div class="wrapper-copy">
|
||||
<span class="deco-ribbon"></span>
|
||||
<h4 class="title">${_("Certificate of Achievement (ID Verified)")}</h4>
|
||||
<div class="copy">
|
||||
<p>${_("Sign up and work toward a verified Certificate of Achievement.")}</p>
|
||||
</div>
|
||||
|
||||
%if upgrade:
|
||||
<div class="copy">
|
||||
<p>${_("Upgrade and work toward a verified Certificate of Achievement.")}</p>
|
||||
</div>
|
||||
%else:
|
||||
<div class="copy">
|
||||
<p>${_("Sign up and work toward a verified Certificate of Achievement.")}</p>
|
||||
</div>
|
||||
%endif
|
||||
</div>
|
||||
|
||||
<div class="field field-certificate-contribution">
|
||||
@@ -118,16 +133,28 @@ $(document).ready(function() {
|
||||
|
||||
<ul class="list-actions">
|
||||
<li class="action action-select">
|
||||
<input type="submit" name="mode" value="Select Certificate" />
|
||||
%if upgrade:
|
||||
<input type="submit" name="mode" value="Upgrade Your Registration" />
|
||||
%else:
|
||||
<input type="submit" name="mode" value="Select Certificate" />
|
||||
%endif
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="help help-register">
|
||||
<h3 class="title">${_("Verified Registration Requirements")}</h3>
|
||||
<div class="copy">
|
||||
<p>${_("To register for a Verified Certificate of Achievement option, you will need a webcam, a credit or debit card, and an ID.")}</p>
|
||||
</div>
|
||||
|
||||
%if upgrade:
|
||||
<div class="copy">
|
||||
<p>${_("To upgrade your registration and work towards a Verified Certificate of Achievement, you will need a webcam, a credit or debit card, and an ID.")}</p>
|
||||
</div>
|
||||
%else:
|
||||
<div class="copy">
|
||||
<p>${_("To register for a Verified Certificate of Achievement option, you will need a webcam, a credit or debit card, and an ID.")}</p>
|
||||
</div>
|
||||
%endif
|
||||
|
||||
<h3 class="title">${_("What is an ID Verified Certificate?")}</h3>
|
||||
<div class="copy">
|
||||
|
||||
@@ -282,4 +282,5 @@
|
||||
border-radius: ($baseline/5);
|
||||
padding: ($baseline/2) $baseline;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1rem;
|
||||
}
|
||||
|
||||
@@ -80,15 +80,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
%copy-badge {
|
||||
@extend %t-title8;
|
||||
@extend %t-weight4;
|
||||
border-radius: ($baseline/5);
|
||||
padding: ($baseline/2) $baseline;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1rem;
|
||||
}
|
||||
|
||||
// ====================
|
||||
|
||||
// MISC: extends - button
|
||||
@@ -476,6 +467,7 @@
|
||||
margin-right: ($baseline/4);
|
||||
opacity: 0.80;
|
||||
color: $white;
|
||||
letter-spacing: 0.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,11 @@
|
||||
|
||||
<span class="sts-track">
|
||||
<span class="sts-track-value">
|
||||
<span class="context">${_("Registering as: ")}</span> ${_("ID Verified")}
|
||||
%if upgrade:
|
||||
<span class="context">${_("Upgrading to:")}</span> ${_("ID Verified")}
|
||||
%else:
|
||||
<span class="context">${_("Registering as: ")}</span> ${_("ID Verified")}
|
||||
%endif
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
@@ -11,10 +11,17 @@
|
||||
</li>
|
||||
|
||||
<li class="help-item help-item-coldfeet">
|
||||
<h3 class="title">${_("Change your mind?")}</h3>
|
||||
<div class="copy">
|
||||
<p>${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start='<a rel="external" href="/course_modes/choose/' + course_id + '">', a_end="</a>")}</p>
|
||||
</div>
|
||||
%if upgrade:
|
||||
<h3 class="title">${_("Change your mind?")}</h3>
|
||||
<div class="copy">
|
||||
<p>${_("You can always continue to audit the course without verifying.")}</p>
|
||||
</div>
|
||||
%else:
|
||||
<h3 class="title">${_("Change your mind?")}</h3>
|
||||
<div class="copy">
|
||||
<p>${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start='<a rel="external" href="/course_modes/choose/' + course_id + '">', a_end="</a>")}</p>
|
||||
</div>
|
||||
%endif
|
||||
</li>
|
||||
|
||||
<li class="help-item help-item-technical">
|
||||
|
||||
@@ -3,8 +3,16 @@
|
||||
<%inherit file="../main.html" />
|
||||
<%namespace name='static' file='/static_content.html'/>
|
||||
|
||||
<%block name="bodyclass">register verification-process step-photos</%block>
|
||||
<%block name="title"><title>${_("Register for {} | Verification").format(course_name)}</title></%block>
|
||||
<%block name="bodyclass">register verification-process step-photos ${'is-upgrading' if upgrade else ''}</%block>
|
||||
<%block name="title">
|
||||
<title>
|
||||
%if upgrade:
|
||||
${_("Upgrade Your Registration for {} | Verification").format(course_name)}
|
||||
%else:
|
||||
${_("Register for {} | Verification").format(course_name)}
|
||||
%endif
|
||||
</title>
|
||||
</%block>
|
||||
|
||||
<%block name="js_extra">
|
||||
<script src="${static.url('js/vendor/responsive-carousel/responsive-carousel.js')}"></script>
|
||||
@@ -172,7 +180,12 @@
|
||||
<dt class="faq-question">${_("What do you do with this picture?")}</dt>
|
||||
<dd class="faq-answer">${_("We only use it to verify your identity. It is not displayed anywhere.")}</dd>
|
||||
<dt class="faq-question">${_("What if my camera isn't working?")}</dt>
|
||||
<dd class="faq-answer">${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start='<a rel="external" href="/course_modes/choose/' + course_id + '">', a_end="</a>")}</dd>
|
||||
|
||||
%if upgrade:
|
||||
<dd class="faq-answer">${_("You can always continue to audit the course without verifying.")}</dd>
|
||||
%else:
|
||||
<dd class="faq-answer">${_("You can always {a_start} audit the course for free {a_end} without verifying.").format(a_start='<a rel="external" href="/course_modes/choose/' + course_id + '">', a_end="</a>")}</dd>
|
||||
%endif
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,16 @@
|
||||
<%! from django.utils.translation import ugettext as _ %>
|
||||
<%! from django.core.urlresolvers import reverse %>
|
||||
<%inherit file="../main.html" />
|
||||
<%block name="bodyclass">register verification-process step-requirements</%block>
|
||||
<%block name="title"><title>${_("Register for {}").format(course_name)}</title></%block>
|
||||
<%block name="bodyclass">register verification-process step-requirements ${'is-upgrading' if upgrade else ''}</%block>
|
||||
<%block name="title">
|
||||
<title>
|
||||
%if upgrade:
|
||||
${_("Upgrade Your Registration for {}").format(course_name)}
|
||||
%else:
|
||||
${_("Register for {}").format(course_name)}
|
||||
%endif
|
||||
</title>
|
||||
</%block>
|
||||
|
||||
<%block name="content">
|
||||
%if is_not_active:
|
||||
@@ -71,11 +79,19 @@
|
||||
|
||||
<div class="wrapper-content-main">
|
||||
<article class="content-main">
|
||||
<h3 class="title">${_("What You Will Need to Register")}</h3>
|
||||
%if upgrade:
|
||||
<h3 class="title">${_("What You Will Need to Upgrade")}</h3>
|
||||
|
||||
<div class="instruction">
|
||||
<p>${_("There are three things you will need to register as an ID verified student:")}</p>
|
||||
</div>
|
||||
<div class="instruction">
|
||||
<p>${_("There are three things you will need to upgrade to being an ID verified student:")}</p>
|
||||
</div>
|
||||
%else:
|
||||
<h3 class="title">${_("What You Will Need to Register")}</h3>
|
||||
|
||||
<div class="instruction">
|
||||
<p>${_("There are three things you will need to register as an ID verified student:")}</p>
|
||||
</div>
|
||||
%endif
|
||||
|
||||
<ul class="list-reqs ${"account-not-activated" if is_not_active else ""}">
|
||||
%if is_not_active:
|
||||
@@ -149,7 +165,12 @@
|
||||
</ul>
|
||||
|
||||
<nav class="nav-wizard ${"is-not-ready" if is_not_active else "is-ready"}">
|
||||
<span class="help help-inline">${_("Missing something? You can always {a_start} audit this course instead {a_end}").format(a_start='<a href="/course_modes/choose/' + course_id + '">', a_end="</a>")}</span>
|
||||
|
||||
%if upgrade:
|
||||
<span class="help help-inline">${_("Missing something? You can always continue to audit this course instead.")}</span>
|
||||
%else:
|
||||
<span class="help help-inline">${_("Missing something? You can always {a_start} audit this course instead {a_end}").format(a_start='<a href="/course_modes/choose/' + course_id + '">', a_end="</a>")}</span>
|
||||
%endif
|
||||
|
||||
<ol class="wizard-steps">
|
||||
<li class="wizard-step">
|
||||
|
||||
Reference in New Issue
Block a user