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
faadc33f
Commit
faadc33f
authored
Sep 26, 2013
by
Frances Botsford
Committed by
Julian Arni
Oct 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
leveraging some of the existing notification styling for component errors in studio
parent
62a8c420
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
14 deletions
+20
-14
cms/templates/html_error.html
+20
-14
No files found.
cms/templates/html_error.html
View file @
faadc33f
...
...
@@ -3,19 +3,25 @@
<
%
block
name=
"bodyclass"
>
error
</
%
block>
<
%
block
name=
"content"
>
<div
class=
"error-prompt"
>
<h2
class=
"description"
>
${_("We're having trouble rendering your component.")}
</h2>
% if message:
<p
class=
"description"
>
${_("Error message:")}
</p>
<span
text-align=
"center"
width=
"60%"
>
<pre
class=
"description"
>
${message | h}
</pre>
</span>
% endif
<div
class=
"wrapper wrapper-alert wrapper-alert-error is-shown"
>
<div
class=
"error"
>
<div
class=
"copy"
>
<h2
class=
"title"
>
<i
class=
"icon-warning-sign"
></i>
${_("We're having trouble rendering your component")}
</h2>
<p>
You can try re-editing your component to check that your syntax is correct.
</p>
% if message:
<p
class=
"description"
>
${_("Error message:")}
${message | h}
</p>
% endif
</div>
</div>
</
%
block>
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