Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3d942503
Commit
3d942503
authored
Aug 04, 2014
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the ability to override non-standard verified mode names
parent
604bfabb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
common/djangoapps/course_modes/views.py
+1
-0
common/templates/course_modes/choose.html
+5
-0
No files found.
common/djangoapps/course_modes/views.py
View file @
3d942503
...
@@ -70,6 +70,7 @@ class ChooseModeView(View):
...
@@ -70,6 +70,7 @@ class ChooseModeView(View):
]
]
context
[
"currency"
]
=
modes
[
"verified"
]
.
currency
.
upper
()
context
[
"currency"
]
=
modes
[
"verified"
]
.
currency
.
upper
()
context
[
"min_price"
]
=
modes
[
"verified"
]
.
min_price
context
[
"min_price"
]
=
modes
[
"verified"
]
.
min_price
context
[
"verified_name"
]
=
modes
[
"verified"
]
.
name
return
render_to_response
(
"course_modes/choose.html"
,
context
)
return
render_to_response
(
"course_modes/choose.html"
,
context
)
...
...
common/templates/course_modes/choose.html
View file @
3d942503
...
@@ -66,7 +66,12 @@ $(document).ready(function() {
...
@@ -66,7 +66,12 @@ $(document).ready(function() {
<div
class=
"register-choice register-choice-certificate"
>
<div
class=
"register-choice register-choice-certificate"
>
<div
class=
"wrapper-copy"
>
<div
class=
"wrapper-copy"
>
<span
class=
"deco-ribbon"
></span>
<span
class=
"deco-ribbon"
></span>
%if verified_name == "Verified Certificate":
<h4
class=
"title"
>
${_("Certificate of Achievement (ID Verified)")}
</h4>
<h4
class=
"title"
>
${_("Certificate of Achievement (ID Verified)")}
</h4>
%else:
<h4
class=
"title"
>
${verified_name}
</h4>
%endif
%if upgrade:
%if upgrade:
<div
class=
"copy"
>
<div
class=
"copy"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment