Commit faadc33f by Frances Botsford Committed by Julian Arni

leveraging some of the existing notification styling for component errors in studio

parent 62a8c420
......@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment