Update sidebar.blade.php

This commit is contained in:
Julian Prieber 2022-05-25 23:15:34 +02:00
parent 122d9e31e6
commit df384df2cf
1 changed files with 1 additions and 1 deletions

View File

@ -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 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) @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
@endif @endif
@elseif(env('NOTIFY_UPDATES') == 'major') @elseif(env('NOTIFY_UPDATES') == 'major')