mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-15 23:08:40 +00:00
Adding media table
This commit is contained in:
parent
f3311a5e06
commit
87a96032e6
|
|
@ -74,3 +74,29 @@ echo $this->getData('nav')->render();
|
||||||
<!-- @formatter:on -->
|
<!-- @formatter:on -->
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="box w-100">
|
||||||
|
<table class="table">
|
||||||
|
<caption><?= $this->l11n->lang['Profile']['Media']; ?></caption>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td><?= $this->l11n->lang[0]['ID']; ?>
|
||||||
|
<td class="wf-100"><?= $this->l11n->lang['Profile']['Title']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Profile']['Type']; ?>
|
||||||
|
<td><?= $this->l11n->lang['Profile']['Created']; ?>
|
||||||
|
<tfoot>
|
||||||
|
<tr><td colspan="4"><?= $footerView->render(); ?>
|
||||||
|
<tbody>
|
||||||
|
<?php $c = 0; foreach ($employees as $key => $value) : $c++;
|
||||||
|
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?id=' . $value->getId()); ?>
|
||||||
|
<tr>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||||
|
<td><a href="<?= $url; ?>"><?= $value->getNewestStatus()->getStatus(); ?></a>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php if($c === 0) : ?>
|
||||||
|
<tr><td colspan="4" class="empty"><?= $this->l11n->lang[0]['Empty']; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user