mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-26 10:48: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">
|
||||
<img class="m-profile rf"
|
||||
alt="<?= $this->getHtml('ProfileImage'); ?>"
|
||||
itemprop="logo"
|
||||
data-lazyload="<?=
|
||||
itemprop="logo" loading="lazy"
|
||||
src="<?=
|
||||
$employee->getImage() instanceof NullMedia ?
|
||||
$employee->getProfile()->getImage() instanceof NullMedia ?
|
||||
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user