This commit is contained in:
Dennis Eichhorn 2020-03-05 20:35:58 +01:00
parent 5d6b37d338
commit 8de242d938
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
<td data-label="<?= $this->getHtml('Status') ?>"><a href="<?= $url; ?>"><span class="tag <?= $this->printHtml($color); ?>"><?= $this->getHtml('S' . $workflow->getStatus()) ?></span></a>
<td data-label="<?= $this->getHtml('Next') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getDue()->format('Y-m-d H:i')); ?></a>
<td data-label="<?= $this->getHtml('Title') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getTitle()); ?></a>
<td data-label="<?= $this->getHtml('Creator') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getCreatedBy()); ?></a>
<td data-label="<?= $this->getHtml('Creator') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getCreatedBy()->getId()); ?></a>
<td data-label="<?= $this->getHtml('Created') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getCreatedAt()->format('Y-m-d H:i')); ?></a>
<?php endforeach; if ($c == 0) : ?>
<tr><td colspan="6" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>

View File

@ -30,7 +30,7 @@ echo $this->getData('nav')->render(); ?>
<blockquote>
<?= $this->printHtml($task->getDescription()); ?>
</blockquote>
<div>Created <?= $this->printHtml($task->getCreatedBy()); ?></div>
<div>Created <?= $this->printHtml($task->getCreatedBy()->getId()); ?></div>
<div>Status <?= $this->printHtml($task->getStatus()); ?></div>
</div>
</section>
@ -44,7 +44,7 @@ foreach ($elements as $key => $element) : ++$c;
elseif ($element->getStatus() === \Modules\Tasks\Models\TaskStatus::SUSPENDED) { $color = 'yellow'; } ?>
<section class="box w-50">
<div class="floatRight"><span class="tag <?= $this->printHtml($color); ?>"><?= $this->getHtml('S' . $element->getStatus()) ?></span></div>
<div><?= $this->printHtml($element->getCreatedBy()); ?> - <?= $this->printHtml($element->getCreatedAt()->format('Y-m-d H:i')); ?></div>
<div><?= $this->printHtml($element->getCreatedBy()->getId()); ?> - <?= $this->printHtml($element->getCreatedAt()->format('Y-m-d H:i')); ?></div>
</section>
<?php if ($element->getDescription() !== '') : ?>
<section class="box w-50">