Skip to content
Snippets Groups Projects
Commit 3d942503 authored by Diana Huang's avatar Diana Huang
Browse files

Add the ability to override non-standard verified mode names

parent 604bfabb
No related merge requests found
......@@ -70,6 +70,7 @@ class ChooseModeView(View):
]
context["currency"] = modes["verified"].currency.upper()
context["min_price"] = modes["verified"].min_price
context["verified_name"] = modes["verified"].name
return render_to_response("course_modes/choose.html", context)
......
......@@ -66,7 +66,12 @@ $(document).ready(function() {
<div class="register-choice register-choice-certificate">
<div class="wrapper-copy">
<span class="deco-ribbon"></span>
<h4 class="title">${_("Certificate of Achievement (ID Verified)")}</h4>
%if verified_name == "Verified Certificate":
<h4 class="title">${_("Certificate of Achievement (ID Verified)")}</h4>
%else:
<h4 class="title">${verified_name}</h4>
%endif
%if upgrade:
<div class="copy">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment