Commit fe26dcb4 by Sef Kloninger

Merge pull request #2833 from edx/sef/theme-embargo-stanford

make embargo template theme-able -- Stanford Branch
parents a0dbf10f d7b844b1
...@@ -162,7 +162,11 @@ def embargo(_request): ...@@ -162,7 +162,11 @@ def embargo(_request):
Explains to the user why they are not able to access a particular embargoed course. 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): 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