-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
678348c
commit c11062c
Showing
4 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'backlink' => 'Go back to the previous page', | ||
'403' => [ | ||
'title' => 'Error 403', | ||
'message' => "You are not allowed to access to this page.", | ||
], | ||
'404' => [ | ||
'title' => 'Error 404', | ||
'message' => 'Page or document not found.', | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'backlink' => 'Revenir à la page précédente', | ||
'403' => [ | ||
'title' => 'Erreur 403', | ||
'message' => "Vous n'avez pas l'autorisation d'accès à cette page.", | ||
], | ||
'404' => [ | ||
'title' => 'Erreur 404', | ||
'message' => 'Page ou document introuvable.', | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@extends('auth.layout', ['title' => 'Erreur 404']) | ||
xtends('boilerplate::auth.layout', ['title' => __('boilerplate::errors.403.title')]) | ||
|
||
@section('content') | ||
@component('auth.loginbox') | ||
@component('boilerplate::auth.loginbox') | ||
<div class="text-center"> | ||
<h2 class="mtn">Erreur 403</h2> | ||
<p>Vous n'êtes pas autorisé à accéder à cette page.</p> | ||
<p><a href="{{ URL::previous() }}" class="btn btn-primary">Revenir à la page précédente</a></p> | ||
<h2 class="mtn">{{ __('boilerplate::errors.403.title') }}</h2> | ||
<p>{{ __('boilerplate::errors.403.message') }}</p> | ||
<p><a href="{{ URL::previous() }}" class="btn btn-primary">{{ __('boilerplate::errors.backlink') }}</a></p> | ||
</div> | ||
@endcomponent | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
@extends('auth.layout', ['title' => 'Erreur 404']) | ||
@extends('boilerplate::auth.layout', ['title' => __('boilerplate::errors.404.title')]) | ||
|
||
@section('content') | ||
@component('auth.loginbox') | ||
@component('boilerplate::auth.loginbox') | ||
<div class="text-center"> | ||
<h2 class="mtn">Erreur 404</h2> | ||
<p>Page introuvable</p> | ||
<p><a href="{{ URL::previous() }}" class="btn btn-primary">Revenir à la page précédente</a></p> | ||
<h2 class="mtn">{{ __('boilerplate::errors.404.title') }}</h2> | ||
<p>{{ __('boilerplate::errors.404.message') }}</p> | ||
<p><a href="{{ URL::previous() }}" class="btn btn-primary">{{ __('boilerplate::errors.backlink') }}</a></p> | ||
</div> | ||
@endcomponent | ||
@endsection |