Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
9f188ed2
Commit
9f188ed2
authored
Oct 08, 2013
by
Frances Botsford
Committed by
Julian Arni
Oct 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional copy and styling for component syntax error in studio
parent
2721966d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
cms/djangoapps/contentstore/features/problem-editor.py
+0
-2
cms/static/sass/views/_unit.scss
+13
-0
cms/templates/html_error.html
+2
-3
No files found.
cms/djangoapps/contentstore/features/problem-editor.py
View file @
9f188ed2
...
...
@@ -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"
...
...
cms/static/sass/views/_unit.scss
View file @
9f188ed2
...
...
@@ -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
;
}
}
}
}
...
...
cms/templates/html_error.html
View file @
9f188ed2
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
block
name=
"bodyclass"
>
error
</
%
block>
<
%
block
name=
"content"
>
<div
class=
"wrapper wrapper-alert wrapper-alert-error is-shown"
>
...
...
@@ -12,11 +11,11 @@
${_("We're having trouble rendering your component")}
</h2>
<p>
You can try re-editing your component to check that your syntax is correct
.
</p>
<p>
Students will not be able to access this component. Re-edit your component to fix the error
.
</p>
% if message:
<p
class=
"description"
>
${_("Error
message
:")}
${_("Error:")}
${message | h}
</p>
% endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment