Add the ability to override non-standard verified mode names
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user