update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
<li class="dropdown notifications-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-refresh"></i>
|
||||
<span class="label label-danger" id="count">{!! $notification->count() !!}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" style="width:500px">
|
||||
|
||||
<li class="header">You have {!! $notification->count() !!} update(s).</li>
|
||||
|
||||
@if($data->count()>0)
|
||||
@foreach($data as $notify)
|
||||
@if($notify->value)
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{!! ucfirst($notify->value) !!}
|
||||
</div>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
<ul class="menu list-unstyled">
|
||||
@if($notification->count()>0)
|
||||
@foreach($notification as $notify)
|
||||
@if($notify->value)
|
||||
|
||||
<li> {!! ucfirst($notify->value) !!}</li>
|
||||
<li class="clearfix"></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -62,20 +62,24 @@
|
||||
|
||||
</div>
|
||||
<div class="box-body" style="background-color: black; height: 410px; overflow: scroll;" id="data">
|
||||
<?php $updated = $controller->doUpdate(); ?>
|
||||
<?php
|
||||
$updated = $controller->doUpdate();
|
||||
if ($updated === true) {
|
||||
$controller->copyToActualDirectory($latest_version);
|
||||
} elseif ($found != true) {
|
||||
echo '<p>» No update is available.</p>';
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($updated == true) {
|
||||
$controller->copyToActualDirectory($latest_version);
|
||||
} elseif ($found != true) {
|
||||
echo '<p>» No update is available.</p>';
|
||||
}
|
||||
} else
|
||||
} else{
|
||||
echo '<p>Could not find latest realeases.</p>';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
</div>
|
||||
@@ -90,4 +94,6 @@
|
||||
}, 500);
|
||||
</script>
|
||||
|
||||
@stop
|
||||
@stop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user