mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-14 22:48:39 +00:00
fix dbmapper bugs
This commit is contained in:
parent
b4c0e7e7d7
commit
cf2f06358c
|
|
@ -38,11 +38,11 @@ $next = empty($accounts) ? '{/prefix}profile/list' : '{/prefix}profile/list?
|
||||||
<?php $count = 0; foreach ($accounts as $key => $account) : ++$count;
|
<?php $count = 0; foreach ($accounts as $key => $account) : ++$count;
|
||||||
$url = UriFactory::build('{/prefix}profile/single?{?}&id=' . $account->getId()); ?>
|
$url = UriFactory::build('{/prefix}profile/single?{?}&id=' . $account->getId()); ?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td><a href="<?= $url; ?>"><img class="rounded bordered"
|
<td><a href="<?= $url; ?>"><img width="30" class="rounded bordered"
|
||||||
data-lazyload="<?=
|
data-lazyload="<?=
|
||||||
$account->getImage() instanceof NullMedia ?
|
$account->getImage() instanceof NullMedia ?
|
||||||
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
|
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
|
||||||
UriFactory::build('{/prefix}' . $profile->getImage()->getPath()); ?>"></a>
|
UriFactory::build('{/prefix}' . $account->getImage()->getPath()); ?>"></a>
|
||||||
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($account->getAccount()->getName3() . ' ' . $account->getAccount()->getName2() . ' ' . $account->getAccount()->getName1()); ?></a>
|
<td data-label="<?= $this->getHtml('Name') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($account->getAccount()->getName3() . ' ' . $account->getAccount()->getName2() . ' ' . $account->getAccount()->getName1()); ?></a>
|
||||||
<td data-label="<?= $this->getHtml('Activity') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($account->getAccount()->getLastActive()->format('Y-m-d')); ?></a>
|
<td data-label="<?= $this->getHtml('Activity') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($account->getAccount()->getLastActive()->format('Y-m-d')); ?></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user