Minor styling improvement
This commit is contained in:
parent
541f0a78f1
commit
83a1608d9b
|
|
@ -511,7 +511,11 @@ class Updates extends Controller
|
|||
$pluginActions = (array) post('plugin_actions');
|
||||
foreach ($plugins as $code => $hash) {
|
||||
$_code = $this->encodeCode($code);
|
||||
if (!array_key_exists($_code, $pluginActions)) continue;
|
||||
|
||||
if (!array_key_exists($_code, $pluginActions)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$pluginAction = $pluginActions[$_code];
|
||||
|
||||
if (!$pluginAction) {
|
||||
|
|
|
|||
|
|
@ -6,16 +6,14 @@
|
|||
data-handler="onLoadUpdates">
|
||||
<?= e(trans('system::lang.updates.check_label')) ?>
|
||||
</a>
|
||||
<div class="btn-group">
|
||||
<a
|
||||
href="<?= Backend::url('system/updates/install') ?>"
|
||||
class="btn btn-success oc-icon-plus">
|
||||
<?= e(trans('system::lang.plugins.install')) ?>
|
||||
</a>
|
||||
<a
|
||||
href="<?= Backend::url('system/updates/manage') ?>"
|
||||
class="btn btn-default oc-icon-puzzle-piece">
|
||||
<?= e(trans('system::lang.plugins.manage')) ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a
|
||||
href="<?= Backend::url('system/updates/install') ?>"
|
||||
class="btn btn-success oc-icon-plus">
|
||||
<?= e(trans('system::lang.plugins.install')) ?>
|
||||
</a>
|
||||
<a
|
||||
href="<?= Backend::url('system/updates/manage') ?>"
|
||||
class="btn btn-default oc-icon-puzzle-piece">
|
||||
<?= e(trans('system::lang.plugins.manage')) ?>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue