Update sidebar.blade.php
This commit is contained in:
parent
df384df2cf
commit
387b67db1d
|
@ -210,7 +210,7 @@ if ($url1sb->successful() or $url2sb->successful()) {
|
|||
|
||||
<! –– If user has role admin AND newest GitHub release version is higher than the local one an update notice will be displayed ––>
|
||||
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal)
|
||||
<a style="color:#007bff" class="nav-link" href="{{route('update')}}" title="Click here to learn more about how to update">An update is available</a>
|
||||
<a style="color:#007bff" class="nav-link" href="{{ url('update') }}" title="Click here to learn more about how to update">An update is available</a>
|
||||
@endif
|
||||
@endif
|
||||
@elseif(env('NOTIFY_UPDATES') == 'major')
|
||||
|
|
Loading…
Reference in New Issue