server exceptions are formatted much nicer in the ui.

This commit is contained in:
kay.one
2013-02-14 22:46:42 -08:00
parent 258977f262
commit 951e083756
6 changed files with 32 additions and 20 deletions
@@ -1,8 +1,8 @@
<div class="alert alert-{{level}}">
<button type="button" class="close x-close">×</button>
<i class="{{iconClass}}" /><strong>{{title}}</strong>
{{#if preFormatted}}
<pre> {{message}}</pre>
{{#if isPreFormatted}}
<pre>{{{preFormattedMessage}}}</pre>
{{else}}
{{message}}
{{/if}}