2018-04-03 14:16:57 +00:00
|
|
|
{{#if (eq model.httpStatus 404)}}
|
|
|
|
{{not-found model=model}}
|
|
|
|
{{else}}
|
2018-06-12 21:06:37 +00:00
|
|
|
<PageHeader as |p|>
|
|
|
|
<p.levelLeft>
|
|
|
|
<h1 class="title is-3 has-text-grey">
|
|
|
|
{{#if (eq model.httpStatus 403)}}
|
|
|
|
Not authorized
|
|
|
|
{{else}}
|
|
|
|
Error
|
|
|
|
{{/if}}
|
|
|
|
</h1>
|
|
|
|
</p.levelLeft>
|
|
|
|
</PageHeader>
|
2018-04-03 14:16:57 +00:00
|
|
|
<div class="box is-sideless has-background-white-bis has-text-grey has-text-centered">
|
|
|
|
{{#if model.message}}
|
|
|
|
<p>{{model.message}}</p>
|
|
|
|
{{/if}}
|
|
|
|
{{#each model.errors as |error|}}
|
|
|
|
<p>{{error}}</p>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|