1
0
Fork 0

Update 503 view, allow custom text

This commit is contained in:
Daniel Supernault 2019-07-27 00:05:41 -06:00
parent 9a8151a3a8
commit 223ee74c80
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
2 changed files with 8 additions and 2 deletions

View File

@ -29,5 +29,11 @@ return [
]
],
'page' => [
'503' => [
'header' => env('PAGE_503_HEADER', 'Service Unavailable'),
'body' => env('PAGE_503_BODY', 'Our service is in maintenance mode, please try again later.')
]
],
];

View File

@ -3,8 +3,8 @@
@section('content')
<div class="container">
<div class="error-page py-5 my-5 text-center">
<h3 class="font-weight-bold">Service Unavailable</h3>
<p class="lead">Our service is in maintenance mode, please try again later. <a href="/">Go back to Pixelfed.</a></p>
<h3 class="font-weight-bold">{{config('instance.page.503.header')}}</h3>
<p class="lead">{{config('instance.page.503.body')}}</p>
</div>
</div>
@endsection