mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-13 21:28:41 +00:00
impl. lazy loading and better media lists
This commit is contained in:
parent
72b58006db
commit
71b1116772
|
|
@ -58,7 +58,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head">
|
<div class="portlet-head">
|
||||||
<div class="row middle-xs">
|
<div class="row middle-xs">
|
||||||
<span class="col-xs-0">
|
<span class="col-xs-0">
|
||||||
<img class="profile-image" alt="<?= $this->getHtml('User', '0', '0'); ?>" data-lazyload="<?= $this->getAccountImage($task->getCreatedBy()->getId()); ?>">
|
<img class="profile-image" loading="lazy" alt="<?= $this->getHtml('User', '0', '0'); ?>" src="<?= $this->getAccountImage($task->getCreatedBy()->getId()); ?>">
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<?= $this->printHtml($task->getCreatedBy()->getName1()); ?> - <?= $this->printHtml($task->getCreatedAt()->format('Y/m/d H:i')); ?>
|
<?= $this->printHtml($task->getCreatedBy()->getName1()); ?> - <?= $this->printHtml($task->getCreatedAt()->format('Y/m/d H:i')); ?>
|
||||||
|
|
@ -211,7 +211,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head">
|
<div class="portlet-head">
|
||||||
<div class="row middle-xs">
|
<div class="row middle-xs">
|
||||||
<span class="col-xs-0">
|
<span class="col-xs-0">
|
||||||
<img class="profile-image" alt="<?= $this->getHtml('User', '0', '0'); ?>" data-lazyload="<?= $this->getAccountImage($element->getCreatedBy()->getId()); ?>">
|
<img class="profile-image" loading="lazy" alt="<?= $this->getHtml('User', '0', '0'); ?>" src="<?= $this->getAccountImage($element->getCreatedBy()->getId()); ?>">
|
||||||
</span>
|
</span>
|
||||||
<span class="col-xs">
|
<span class="col-xs">
|
||||||
<?= $this->printHtml($element->getCreatedBy()->getName1()); ?> - <?= $this->printHtml($element->getCreatedAt()->format('Y-m-d H:i')); ?>
|
<?= $this->printHtml($element->getCreatedBy()->getName1()); ?> - <?= $this->printHtml($element->getCreatedAt()->format('Y-m-d H:i')); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user