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