diff --git a/cms/djangoapps/contentstore/features/problem-editor.py b/cms/djangoapps/contentstore/features/problem-editor.py index ba212b513a..49c884e082 100644 --- a/cms/djangoapps/contentstore/features/problem-editor.py +++ b/cms/djangoapps/contentstore/features/problem-editor.py @@ -9,8 +9,6 @@ from common import type_in_codemirror from time import sleep -from pdb import set_trace - DISPLAY_NAME = "Display Name" MAXIMUM_ATTEMPTS = "Maximum Attempts" PROBLEM_WEIGHT = "Problem Weight" diff --git a/cms/static/sass/views/_unit.scss b/cms/static/sass/views/_unit.scss index 7c8a531cdc..2eb3e19173 100644 --- a/cms/static/sass/views/_unit.scss +++ b/cms/static/sass/views/_unit.scss @@ -355,6 +355,19 @@ body.course.unit,.view-unit { } } + + .wrapper-alert-error { + box-shadow: none; + border-top: 5px solid $red-l1; + + .copy, + .title { + color: $white; + } + + } + + } } diff --git a/cms/templates/html_error.html b/cms/templates/html_error.html index f0f82d959b..fec936bb3b 100644 --- a/cms/templates/html_error.html +++ b/cms/templates/html_error.html @@ -1,6 +1,5 @@ <%! from django.utils.translation import ugettext as _ %> <%! from django.core.urlresolvers import reverse %> -<%block name="bodyclass">error <%block name="content">
@@ -12,11 +11,11 @@ ${_("We're having trouble rendering your component")} -

You can try re-editing your component to check that your syntax is correct.

+

Students will not be able to access this component. Re-edit your component to fix the error.

% if message:

- ${_("Error message:")} + ${_("Error:")} ${message | h}

% endif