Update maintenance.blade.php
This commit is contained in:
parent
99ae84db68
commit
0220530725
|
@ -93,7 +93,7 @@ body {
|
|||
<h1 style="font-size: 300%;"><i class="fa-solid fa-screwdriver-wrench"></i> Maintenance Mode <i class="fa-solid fa-screwdriver-wrench"></i></h1>
|
||||
<h2>We are performing scheduled site maintenance at this time.</h2>
|
||||
<h3>Please check back with us later.</h3>
|
||||
@if(auth()->user()->role == 'admin')
|
||||
@if(auth()->user() && auth()->user()->role == 'admin')
|
||||
<br><center><i>Admin options:</i></center>
|
||||
<a href="{{url('dashboard')}}">Dashboard</a> | <a href="{{url('?maintenance=off')}}" onclick="return confirm('You are about to disable Maintenance Mode. Are you sure?');">Turn off</a>
|
||||
@endif
|
||||
|
|
Loading…
Reference in New Issue