Skip to content
Snippets Groups Projects
Commit f4848074 authored by Sef Kloninger's avatar Sef Kloninger
Browse files

make embargo template theme-able

Use "Stanford-style" theming to enable you to put your own embargo
notice up.
parent 601b5a8c
No related merge requests found
......@@ -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):
......
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