From 90923f3e12c9d8ca40bec547f618a4dae9392945 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Fri, 6 Sep 2013 10:11:15 -0400 Subject: [PATCH] Add min_price var to _contribution.html template --- common/djangoapps/course_modes/views.py | 1 + common/templates/course_modes/choose.html | 2 +- lms/djangoapps/verify_student/views.py | 1 + lms/templates/verify_student/photo_verification.html | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/djangoapps/course_modes/views.py b/common/djangoapps/course_modes/views.py index fcf1721d52..cf9f4095ab 100644 --- a/common/djangoapps/course_modes/views.py +++ b/common/djangoapps/course_modes/views.py @@ -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) diff --git a/common/templates/course_modes/choose.html b/common/templates/course_modes/choose.html index 11f762ea3e..a0e24ee505 100644 --- a/common/templates/course_modes/choose.html +++ b/common/templates/course_modes/choose.html @@ -87,7 +87,7 @@ $(document).ready(function() { %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"/> - <%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"/>