Commit f4848074 by Sef Kloninger

make embargo template theme-able

Use "Stanford-style" theming to enable you to put your own embargo
notice up.
parent 601b5a8c
......@@ -148,7 +148,11 @@ def embargo(_request):
Explains to the user why they are not able to access a particular embargoed course.
"""
return render_to_response('static_templates/embargo.html')
if settings.FEATURES["USE_CUSTOM_THEME"]:
template="static_templates/theme-embargo.html"
else:
template="static_templates/embargo.html"
return render_to_response(template)
def press(request):
......
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