Error template
This commit is contained in:
parent
9c5f13c925
commit
43e366a340
1 changed files with 18 additions and 14 deletions
32
error.hbs
32
error.hbs
|
@ -1,19 +1,23 @@
|
||||||
|
|
||||||
{{!< default}}
|
{{!< default}}
|
||||||
|
|
||||||
<h1>{{statusCode}}</h1>
|
<header class="gh-header">
|
||||||
<p>{{message}}</p>
|
<h1>{{statusCode}}</h1>
|
||||||
|
<p>{{message}}</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
{{#if errorDetails}}
|
<section class="gh-content">
|
||||||
<ul>
|
{{#if errorDetails}}
|
||||||
{{#foreach errorDetails}}
|
<ul>
|
||||||
<li>
|
{{#foreach errorDetails}}
|
||||||
<h5>{{{rule}}}</h5>
|
<li>
|
||||||
{{#foreach failures}}
|
<h5>{{{rule}}}</h5>
|
||||||
<span><strong>Ref:</strong> {{ref}}</span><br>
|
{{#foreach failures}}
|
||||||
<span><strong>Message:</strong> {{message}}</span>
|
<span><strong>Ref:</strong> {{ref}}</span><br>
|
||||||
|
<span><strong>Message:</strong> {{message}}</span>
|
||||||
|
{{/foreach}}
|
||||||
|
</li>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</li>
|
</ul>
|
||||||
{{/foreach}}
|
{{/if}}
|
||||||
</ul>
|
</section>
|
||||||
{{/if}}
|
|
Loading…
Reference in a new issue