mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
7b62c03438
closes https://github.com/TryGhost/Ghost/issues/9394 - add `application-error.hbs` template so that we show an error screen for errors during app boot - track the application route loading state so that we can fall back to the default error handling for errors that usually only show an alert
16 lines
612 B
Handlebars
16 lines
612 B
Handlebars
<div class="gh-view">
|
|
<section class="error-content error-404 js-error-container">
|
|
<section class="error-details">
|
|
<img class="error-ghost" src="assets/img/404-ghost@2x.png" srcset="assets/img/404-ghost.png 1x, assets/img/404-ghost@2x.png 2x" />
|
|
<section class="error-message">
|
|
<h1 class="error-code">{{model.code}}</h1>
|
|
<h2 class="error-description">
|
|
{{or model.payload.errors.firstObject.message model.message}}
|
|
</h2>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
|
|
{{ember-load-remover}}
|