ORIENT/modules/system/controllers/updates/index.htm

65 lines
2.7 KiB
HTML
Raw Normal View History

2014-05-14 13:24:20 +00:00
<div class="scoreboard">
<div data-control="toolbar">
<div class="scoreboard-item title-value">
<h4><?= e(trans('system::lang.project.name')) ?></h4>
<?php if ($projectId): ?>
<p class="oc-icon-chain"><?= $projectName ?></p>
2014-05-14 13:24:20 +00:00
<p class="description">
<?= e(trans('system::lang.project.owner_label')) ?>: <?= $projectOwner ?>
2014-05-14 13:24:20 +00:00
(<a
href="javascript:;"
2014-05-21 00:43:43 +00:00
data-request-confirm="<?= e(trans('system::lang.project.detach_confirm')) ?>"
2014-05-14 13:24:20 +00:00
data-request="onDetachProject"
2014-05-21 00:43:43 +00:00
data-stripe-load-indicator><?= e(trans('system::lang.project.detach')) ?></a>)
2014-05-14 13:24:20 +00:00
</p>
<?php else: ?>
<p class="oc-icon-chain-broken"><?= e(trans('system::lang.project.none')) ?></p>
2014-05-14 13:24:20 +00:00
<p class="description">
<a
href="javascript:;"
data-control="popup"
data-handler="onLoadProjectForm">
<?= e(trans('system::lang.project.attach')) ?>
2014-05-14 13:24:20 +00:00
</a>
</p>
<?php endif ?>
</div>
2015-02-21 04:09:39 +00:00
<div class="scoreboard-item title-value">
<h4><?= e(trans('system::lang.updates.plugins')) ?></h4>
<p><?= $pluginsCount ?></p>
<p class="description">
2016-01-24 16:23:58 +00:00
<?= e(trans('system::lang.updates.disabled')) ?>: <?= $pluginsCount - $pluginsActiveCount ?>
2015-02-21 04:09:39 +00:00
</p>
</div>
<?php if ($coreBuild): ?>
<div class="scoreboard-item title-value">
<h4><?= e(trans('system::lang.updates.core_current_build')) ?></h4>
2021-03-11 10:16:57 +00:00
<p><?= $coreBuild ?></p>
<p class="description">
<a
href="javascript:;"
data-control="popup"
data-handler="onLoadChangelog">
<?= e(trans('system::lang.updates.core_view_changelog')) ?>
</a>
</p>
</div>
<?php endif ?>
2014-05-14 13:24:20 +00:00
</div>
</div>
<?php if (count($warnings)): ?>
<div class="scoreboard">
<div class="callout fade in callout-danger no-icon">
<div class="header">
<h3><?= e(trans('system::lang.updates.update_warnings_title')) ?></h3>
<ul>
<?php foreach ($warnings as $warning): ?>
<li><?= $warning ?></li>
<?php endforeach ?>
</ul>
</div>
</div>
</div>
<?php endif ?>
2014-05-14 13:24:20 +00:00
<?= $this->listRender() ?>