mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-16 22:58:41 +00:00
fix footer of task elements
This commit is contained in:
parent
10dc5af2bb
commit
c3ae9923a4
|
|
@ -198,9 +198,13 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php $elementMedia = $element->getMedia();
|
||||||
|
if (!empty($elementMedia)
|
||||||
|
|| ($task->isEditable()
|
||||||
|
&& $this->request->getHeader()->getAccount() === $element->getCreatedBy()->getId())
|
||||||
|
) : ?>
|
||||||
<div class="portlet-foot row middle-xs">
|
<div class="portlet-foot row middle-xs">
|
||||||
<?php $elementMedia = $element->getMedia();
|
<?php if (!empty($elementMedia)) : ?>
|
||||||
if (!empty($elementMedia)) : ?>
|
|
||||||
<div>
|
<div>
|
||||||
<?php foreach ($elementMedia as $media) : ?>
|
<?php foreach ($elementMedia as $media) : ?>
|
||||||
<span><?= $media->getName(); ?></span>
|
<span><?= $media->getName(); ?></span>
|
||||||
|
|
@ -237,6 +241,8 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<button class="update"><?= $this->getHtml('Edit', '0', '0') ?></button>
|
<button class="update"><?= $this->getHtml('Edit', '0', '0') ?></button>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
</section>
|
</section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user