Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
7235efdf
Commit
7235efdf
authored
Oct 31, 2016
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding a default 404 page with its translations
parent
f6faaaa1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
core.php
Modules/Translation/Resources/lang/core/en/core.php
+3
-0
404.blade.php
Themes/Adminlte/views/errors/404.blade.php
+22
-0
No files found.
Modules/Translation/Resources/lang/core/en/core.php
View file @
7235efdf
...
...
@@ -62,4 +62,7 @@ return [
'create resource'
=>
'Create :name'
,
'edit resource'
=>
'Edit :name'
,
'destroy resource'
=>
'Delete :name'
,
'error 404'
=>
'404'
,
'error 404 title'
=>
'Oops! This page was not found.'
,
'error 404 description'
=>
'The page you are looking for was not found.'
,
];
Themes/Adminlte/views/errors/404.blade.php
0 → 100644
View file @
7235efdf
@
extends
(
'layouts.master'
)
@
section
(
'content-header'
)
<
h1
>
{{
trans
(
'core::core.error 404'
)
}}
</
h1
>
<
ol
class
="
breadcrumb
">
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li class="
current
">{{ trans('core::core.error 404') }}</li>
</ol>
@stop
@section('content')
<div class="
error
-
page
">
<h2 class="
headline
text
-
yellow
" style="
line
-
height
:
0.6
;
margin
-
top
:
0
;
"> 404</h2>
<div class="
error
-
content
">
<h3><i class="
fa
fa
-
warning
text
-
yellow
"></i> {{ trans('core::core.error 404 title') }}</h3>
<p>{!! trans('core::core.error 404 description') !!}</p>
</div>
<!-- /.error-content -->
</div>
@stop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment