fix(errors): dedicated 404 errors
This commit is contained in:
committed by
Benedikt Rötsch
parent
9ca77e4e9c
commit
4cdfea0b3e
@@ -6,11 +6,12 @@ block content
|
||||
.layout-centered
|
||||
.error
|
||||
h1 #{translate('somethingWentWrongLabel', currentLocale.code)} (#{error.status})
|
||||
p #{error.message}
|
||||
h2 #{translate('tryLabel', currentLocale.code)}:
|
||||
ul
|
||||
case error.status
|
||||
when 404
|
||||
li #{translate('error404Route', currentLocale.code)}
|
||||
li #{translate('notFoundErrorLabel', currentLocale.code)}
|
||||
li #{translate('draftOrPublishedErrorLabel', currentLocale.code)}
|
||||
when 400
|
||||
li #{translate('contentModelChangedErrorLabel', currentLocale.code)}
|
||||
|
||||
Reference in New Issue
Block a user