diff --git a/lms/djangoapps/courseware/views.py b/lms/djangoapps/courseware/views.py index 314562aeb8..c5d99947dc 100644 --- a/lms/djangoapps/courseware/views.py +++ b/lms/djangoapps/courseware/views.py @@ -170,8 +170,9 @@ def index(request, course_id, chapter=None, section=None, position=position )) try: - result = render_to_response('courseware-error.html', - {'staff_access': staff_access}) + result = render_to_response('courseware/courseware-error.html', + {'staff_access': staff_access, + 'course' : course}) except: result = HttpResponse("There was an unrecoverable error") diff --git a/lms/templates/courseware-error.html b/lms/templates/courseware/courseware-error.html similarity index 67% rename from lms/templates/courseware-error.html rename to lms/templates/courseware/courseware-error.html index 3c26ae8aeb..169c7de8bc 100644 --- a/lms/templates/courseware-error.html +++ b/lms/templates/courseware/courseware-error.html @@ -1,8 +1,13 @@ -<%inherit file="main.html" /> +<%inherit file="/main.html" /> +<%namespace name='static' file='../static_content.html'/> <%block name="bodyclass">courseware%block> <%block name="title">