Commit 01c029aa by chrisndodge

Merge pull request #5805 from edx/cdodge/make-customizeable-region-in-receipt-page

allow for a customized region on the receipt page that is microsite bran...
parents 893cb9c2 805a8a57
......@@ -63,7 +63,7 @@ def get_template_path(relative_path):
search_path = os.path.join(microsite_template_path, relative_path)
if os.path.isfile(search_path):
path = '{0}/templates/{1}'.format(
path = '/{0}/templates/{1}'.format(
get_value('microsite_name'),
relative_path
)
......
<%inherit file="shopping_cart_flow.html" />
<%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
<%! from microsite_configuration import microsite %>
<%!
from courseware.courses import course_image_url, get_course_about_section, get_course_by_id
%>
......@@ -350,6 +351,8 @@ from courseware.courses import course_image_url, get_course_about_section, get_c
<span class="pull-right">${_("Total")}: <b>$${"{0:0.2f}".format(order.total_cost)} USD</b></span>
</div>
</div>
## Allow for a microsite to be able to insert additional text at the bottom of the page
<%include file="${microsite.get_template_path('receipt_custom_pane.html')}" />
</section>
</div>
</%block>
## Intentionally left blank. This Mako template can be overriden by a microsite template to insert brand
## specific HTML into the lower pane of the receipt.html page
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