mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-13 11:28:41 +00:00
impl. lazy loading and better media lists
This commit is contained in:
parent
8aff03e324
commit
6ee7073ec1
|
|
@ -46,8 +46,8 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<span class="rf">
|
<span class="rf">
|
||||||
<img class="m-profile rf"
|
<img class="m-profile rf"
|
||||||
alt="<?= $this->getHtml('ProfileImage'); ?>"
|
alt="<?= $this->getHtml('ProfileImage'); ?>"
|
||||||
itemprop="logo"
|
itemprop="logo" loading="lazy"
|
||||||
data-lazyload="<?=
|
src="<?=
|
||||||
$employee->getImage() instanceof NullMedia ?
|
$employee->getImage() instanceof NullMedia ?
|
||||||
$employee->getProfile()->getImage() instanceof NullMedia ?
|
$employee->getProfile()->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') :
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user