mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2024-11-24 03:12:46 +01:00
Allow to show custom message on 403 error page
This commit is contained in:
parent
ffe2adc4c2
commit
9266e5c207
@ -4,5 +4,11 @@
|
||||
|
||||
@section('message')
|
||||
{{ __('Access denied') }}
|
||||
@php
|
||||
$msg = $exception->getMessage();
|
||||
@endphp
|
||||
@if ($msg && strstr($msg, '[display]'))
|
||||
<br/><br/>{{ str_replace('[display]', '', $msg) }}
|
||||
@endif
|
||||
<br/><br/><small>{{ __('Go to') }} <a href="{{ \Helper::urlHome() }}">{{ __('Homepage') }}</a></small>
|
||||
@endsection
|
Loading…
Reference in New Issue
Block a user