Update sidebar.blade.php
This commit is contained in:
parent
122d9e31e6
commit
df384df2cf
|
@ -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', $id)}}" title="Click here to learn more about how to update">An update is available</a>
|
||||
<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>
|
||||
@endif
|
||||
@endif
|
||||
@elseif(env('NOTIFY_UPDATES') == 'major')
|
||||
|
|
Loading…
Reference in New Issue