mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-16 01:08:42 +00:00
fix username rendering and recursive collection creation
This commit is contained in:
parent
fbfd866a4f
commit
0529f9f5ec
|
|
@ -76,9 +76,7 @@ foreach ($comments as $comment) : ?>
|
||||||
<span><a class="content" href="<?= UriFactory::build('{/prefix}media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span>
|
<span><a class="content" href="<?= UriFactory::build('{/prefix}media/single?id=' . $file->getId());?>"><?= $file->name; ?></a></span>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<?= $this->printHtml(
|
<?= $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$comment->createdBy->name1, $comment->createdBy->name2, $comment->createdBy->name3, $comment->createdBy->login ?? ''])); ?>
|
||||||
\sprintf('%3$s %2$s %1$s', $comment->createdBy->name1, $comment->createdBy->name2, $comment->createdBy->name3)
|
|
||||||
); ?>
|
|
||||||
<span class="floatRight"><?= $comment->createdAt->format('Y-m-d H:i:s'); ?></span>
|
<span class="floatRight"><?= $comment->createdAt->format('Y-m-d H:i:s'); ?></span>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user