mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-01 12:48:42 -05:00
Add link to homepage to 404 error page (#40369)
This commit is contained in:
@@ -185,6 +185,7 @@ body {
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
font-weight: 400;
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,8 +12,9 @@
|
||||
= theme_style_tags Setting.default_settings['theme']
|
||||
= vite_typescript_tag 'error.ts', crossorigin: 'anonymous'
|
||||
%body.error
|
||||
.dialog
|
||||
%main.dialog
|
||||
.dialog__illustration
|
||||
%img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
|
||||
.dialog__message
|
||||
%h1= yield :content
|
||||
%a{ class: 'button button-secondary', href: '/' }= t('errors.go_home')
|
||||
|
||||
@@ -1596,6 +1596,7 @@ en:
|
||||
content: We're sorry, but something went wrong on our end.
|
||||
title: This page is not correct
|
||||
'503': The page could not be served due to a temporary server failure.
|
||||
go_home: Go home
|
||||
noscript_html: To use the Mastodon web application, please enable JavaScript. Alternatively, try one of the <a href="%{apps_path}">native apps</a> for Mastodon for your platform.
|
||||
existing_username_validator:
|
||||
not_found: could not find a local user with that username
|
||||
|
||||
Reference in New Issue
Block a user