diff --git a/common/djangoapps/student/views.py b/common/djangoapps/student/views.py index 2c802d3f4fdc140723d36ffea6ecef1d28005329..3b6198d33d5e624add22bc2e8481e91532de9717 100644 --- a/common/djangoapps/student/views.py +++ b/common/djangoapps/student/views.py @@ -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):