Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
3d942503
Commit
3d942503
authored
10 years ago
by
Diana Huang
Browse files
Options
Downloads
Patches
Plain Diff
Add the ability to override non-standard verified mode names
parent
604bfabb
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/djangoapps/course_modes/views.py
+1
-0
1 addition, 0 deletions
common/djangoapps/course_modes/views.py
common/templates/course_modes/choose.html
+6
-1
6 additions, 1 deletion
common/templates/course_modes/choose.html
with
7 additions
and
1 deletion
common/djangoapps/course_modes/views.py
+
1
−
0
View file @
3d942503
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
common/templates/course_modes/choose.html
+
6
−
1
View file @
3d942503
...
...
@@ -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"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment