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
90923f3e
Commit
90923f3e
authored
Sep 06, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add min_price var to _contribution.html template
parent
698872a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
common/djangoapps/course_modes/views.py
+1
-0
common/templates/course_modes/choose.html
+1
-1
lms/djangoapps/verify_student/views.py
+1
-0
lms/templates/verify_student/photo_verification.html
+1
-1
No files found.
common/djangoapps/course_modes/views.py
View file @
90923f3e
...
...
@@ -33,6 +33,7 @@ class ChooseModeView(View):
if
"verified"
in
modes
:
context
[
"suggested_prices"
]
=
modes
[
"verified"
]
.
suggested_prices
.
split
(
","
)
context
[
"currency"
]
=
modes
[
"verified"
]
.
currency
.
upper
()
context
[
"min_price"
]
=
modes
[
"verified"
]
.
min_price
return
render_to_response
(
"course_modes/choose.html"
,
context
)
...
...
common/templates/course_modes/choose.html
View file @
90923f3e
...
...
@@ -87,7 +87,7 @@ $(document).ready(function() {
</div>
%endif
<
%
include
file=
"_contribution.html"
args=
"suggested_prices=suggested_prices, currency=currency, chosen_price=chosen_price"
/>
<
%
include
file=
"_contribution.html"
args=
"suggested_prices=suggested_prices, currency=currency, chosen_price=chosen_price
, min_price=min_price
"
/>
<div
class=
"help-tip is-expandable"
>
<h5
class=
"title title-expand"
><i
class=
"icon-caret-down expandable-icon"
></i>
${_("Why do I have to pay? What if I don't meet all the requirements?")}
</h5>
...
...
lms/djangoapps/verify_student/views.py
View file @
90923f3e
...
...
@@ -65,6 +65,7 @@ class VerifyView(View):
],
"currency"
:
verify_mode
.
currency
.
upper
(),
"chosen_price"
:
chosen_price
,
"min_price"
:
verify_mode
.
min_price
,
}
return
render_to_response
(
'verify_student/photo_verification.html'
,
context
)
...
...
lms/templates/verify_student/photo_verification.html
View file @
90923f3e
...
...
@@ -320,7 +320,7 @@
<p>
${_("Please confirm your contribution for this course:")}
</p>
</div>
<
%
include
file=
"/course_modes/_contribution.html"
args=
"suggested_prices=suggested_prices, currency=currency, chosen_price=chosen_price"
/>
<
%
include
file=
"/course_modes/_contribution.html"
args=
"suggested_prices=suggested_prices, currency=currency, chosen_price=chosen_price
, min_price=min_price
"
/>
</li>
</ol>
...
...
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