Commit 90923f3e by David Ormsbee

Add min_price var to _contribution.html template

parent 698872a8
......@@ -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)
......
......@@ -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>
......
......@@ -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)
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment