Improve wording on error pages.

This commit is contained in:
Paulo Reis
2017-03-28 16:57:08 +01:00
parent 5b69156948
commit f298fac638
3 changed files with 2 additions and 12 deletions
-1
View File
@@ -10,7 +10,6 @@ block content
alt="Not found"
)
.error-details
h1.error-code 404
p.error-status Not found
p.error-description #{translate("cant_find_page")}
a.error-btn(href="/") Home
+2 -3
View File
@@ -16,9 +16,8 @@ html.full-height(itemscope, itemtype='http://schema.org/Product')
alt="Error"
)
.error-details
h1.error-code 500
p.error-status Ooops
p.error-description Looks like something went wrong
p.error-status Something went wrong, sorry.
p.error-description Our staff are probably looking into this, but if it continues, please contact us at #{settings.adminEmail}
a.error-btn(href="/") Home
//- .content
//- .container
@@ -56,17 +56,9 @@
flex: 0 1 50%;
padding: @line-height-computed * 2;
}
.error-code {
font-family: @font-family-sans-serif;
font-size: @font-size-h1 * 4;
font-weight: 800;
color: @red;
margin-bottom: @line-height-computed;
}
.error-status {
font-family: @font-family-serif;
margin-bottom: (@line-height-computed / 4);
line-height: 1;
color: @gray-dark;
font-size: @font-size-h1;
}