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 @@ ...@@ -3,19 +3,25 @@
<%block name="bodyclass">error</%block> <%block name="bodyclass">error</%block>
<%block name="content"> <%block name="content">
<div class="error-prompt"> <div class="wrapper wrapper-alert wrapper-alert-error is-shown">
<h2 class="description"> <div class="error">
${_("We're having trouble rendering your component.")}
<div class="copy">
<h2 class="title">
<i class="icon-warning-sign"></i>
${_("We're having trouble rendering your component")}
</h2> </h2>
<p>You can try re-editing your component to check that your syntax is correct.</p>
% if message: % if message:
<p class="description"> <p class="description">
${_("Error message:")} ${_("Error message:")}
</p>
<span text-align="center" width="60%">
<pre class="description">
${message | h} ${message | h}
</pre> </p>
</span>
% endif % endif
</div>
</div> </div>
</%block> </%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