mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 05:16:15 +02:00
Error pages: only redirect on 404
This commit is contained in:
parent
b242676488
commit
6bf19f493f
|
|
@ -3,7 +3,6 @@
|
||||||
@section('title', $__t('You are not allowed to view this page!'))
|
@section('title', $__t('You are not allowed to view this page!'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<meta http-equiv="refresh" content="5;url=/">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6 text-center">
|
<div class="col-xs-12 col-md-6 text-center">
|
||||||
<h2 class="title">@yield('title')</h2>
|
<h2 class="title">@yield('title')</h2>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,14 @@
|
||||||
@extends('errors.base')
|
@extends('errors.base')
|
||||||
|
|
||||||
@section('title', $__t('Page not found'))
|
@section('title', $__t('Page not found'))
|
||||||
|
@section('content')
|
||||||
|
<meta http-equiv="refresh" content="5;url=/">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12 col-md-6">
|
||||||
|
<h2 class="title">@yield('title')</h2>
|
||||||
|
<div>
|
||||||
|
{!! nl2br(e($exception->getTraceAsString())) !!}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@stop
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
@extends('layout.default')
|
@extends('layout.default')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<meta http-equiv="refresh" content="5;url=/">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
<h2 class="title">@yield('title')</h2>
|
<h2 class="title">@yield('title')</h2>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user