Minor styling improvement

This commit is contained in:
Samuel Georges 2018-04-30 08:58:22 +10:00
parent 541f0a78f1
commit 83a1608d9b
2 changed files with 16 additions and 14 deletions

View File

@ -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) {

View File

@ -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>