mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-05 06:01:00 +02:00
Update sidebar.blade.php
This commit is contained in:
parent
b308b42f46
commit
a4b67cb38e
@ -317,7 +317,7 @@ if($url1sb == '200' or $url2sb == '200') {
|
||||
|
||||
<! –– 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)
|
||||
<button class="update-notification"><a class="update-link nav-link" href="{{ url('update') }}" title="Click here to learn more about how to update">Update</a></button>
|
||||
<button style="margin-left:5px;" class="update-notification"><a class="update-link nav-link" href="{{ url('update') }}" title="Click here to learn more about how to update">Update</a></button>
|
||||
<?php
|
||||
$version1 = $Vlocal;
|
||||
$version2 = $Vgit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user