mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-15 16:58:43 +00:00
style fixes, bug fixes
This commit is contained in:
parent
f396454830
commit
e5d7a9531e
|
|
@ -70,12 +70,11 @@ foreach ($comments as $comment) : ?>
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<article><?= $comment->content; ?></article>
|
<article><?= $comment->content; ?></article>
|
||||||
</div>
|
|
||||||
<div class="portlet-foot">
|
|
||||||
<?php $files = $comment->getMedia(); foreach ($files as $file) : ?>
|
<?php $files = $comment->getMedia(); foreach ($files as $file) : ?>
|
||||||
<span><a class="content" href="<?= UriFactory::build('{/base}/media/single?id=' . $file->id);?>"><?= $file->name; ?></a></span>
|
<span><a class="content" href="<?= UriFactory::build('{/base}/media/single?id=' . $file->id);?>"><?= $file->name; ?></a></span>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
</div>
|
||||||
|
<div class="portlet-foot">
|
||||||
<?= $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$comment->createdBy->name1, $comment->createdBy->name2, $comment->createdBy->name3, $comment->createdBy->login ?? ''])); ?>
|
<?= $this->printHtml($this->renderUserName('%3$s %2$s %1$s', [$comment->createdBy->name1, $comment->createdBy->name2, $comment->createdBy->name3, $comment->createdBy->login ?? ''])); ?>
|
||||||
<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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user